com.diboot.devtools.v2.OO0OOOO0OOO0000O Maven / Gradle / Ivy
The newest version!
/**
* Copyright (c) dibo.ltd, https://www.dibo.ltd, https://www.diboot.com
*
* ---- 版权声明 ----
* Diboot相关商标、软件著作权、专利等全部知识产权隶属于苏州帝博信息技术有限公司。
* Diboot devtools 非开源项目,如您有devtools相关定制化需求,请至官网(https://www.dibo.ltd)联系帝博信息商务。
*
* 《中华人民共和国刑法》规定:破坏计算机信息系统罪,处五年以下有期徒刑或者拘役;后果特别严重的,处五年以上有期徒刑。
* 侵犯知识产权罪:处三年以下有期徒刑、拘役或管制,并处罚金;情节特别严重的,处三年以上七年以下有期徒刑,并处罚金。
*
* 任何尝试破解、破坏devtools、侵犯diboot知识产权的行为,我们将不惜一切代价追究到底!
*
*/
package com.diboot.devtools.v2;
import com.diboot.core.config.Cons;
import com.diboot.core.util.S;
import com.diboot.core.util.V;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.io.FileUtils;
import java.io.File;
import java.util.List;
@Slf4j
@Deprecated()
public class OO0OOOO0OOO0000O {
@Deprecated()
public static String l1111lll1ll1lll() {
try {
File lll11l1ll1ll = new File(OO00OO000O00O00O.l111llll1ll11ll("v" + O0O0O0000OO0O000.llll1l1lll1l1l + OOO0OO00O00O00OO.l11llll1ll11ll1("LnRtcA==")));
if (lll11l1ll1ll.exists()) {
String l1ll11lll1ll = FileUtils.readFileToString(lll11l1ll1ll, Cons.CHARSET_UTF8);
if (V.notEmpty(l1ll11lll1ll)) {
return S.split(l1ll11lll1ll)[0];
}
}
return "";
} catch (Exception e) {
}
return null;
}
@Deprecated()
public static OOO0O000000OOO00 l111ll1ll11lll1() {
return new OOO0O000000OOO00();
}
@Deprecated()
public static void l1l11l1111ll11l(OOO0O000000OOO00 ll1l1l1lll11) {
}
@Deprecated()
public static void lllllll11llll1l() {
try {
File ll11l1ll1111 = new File(OO00OO000O00O00O.l111llll1ll11ll("v" + O0O0O0000OO0O000.llll1l1lll1l1l + OOO0OO00O00O00OO.l11llll1ll11ll1("LnRtcA==")));
FileUtils.forceDelete(ll11l1ll1111);
} catch (Exception e) {
}
}
@Deprecated()
public static void lllllll11l1l11l() {
try {
String l11lll1l1lll = OO00OO000O00O00O.l111llll1ll11ll(OOOOO000O0OO0000.CACHE_FILE_NAME + "." + O0O0O0000OO0O000.llll1l1lll1l1l);
File l11l11l1111l = new File(l11lll1l1lll);
FileUtils.forceDelete(l11l11l1111l);
} catch (Exception e) {
}
}
@Deprecated()
public static boolean ll1ll11111llll1(String l11llll1l1l1, List l11lll1ll1l1) {
try {
File l1l11ll1ll11 = new File(l11llll1l1l1);
if (!l1l11ll1ll11.exists()) {
File lll11lll11l1 = l1l11ll1ll11.getParentFile();
if (lll11lll11l1 != null) {
FileUtils.forceMkdir(lll11lll11l1);
}
l1l11ll1ll11.createNewFile();
}
FileUtils.writeLines(l1l11ll1ll11, Cons.CHARSET_UTF8, l11lll1ll1l1, true);
return true;
} catch (Exception e) {
log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("5L+u5pS55paH5Lu25byC5bi477yM6K+35qOA5p+l5paH5Lu2IHt9Ont9"), l11llll1l1l1, e.getMessage());
return false;
}
}
@Deprecated()
public static String ll111l1llllll11(String l11ll1l111l1) {
try {
File lll11lll1l1l = new File(l11ll1l111l1);
if (lll11lll1l1l.exists()) {
return FileUtils.readFileToString(lll11lll1l1l, Cons.CHARSET_UTF8);
} else {
log.warn(OOO0OO00O00O00OO.l11llll1ll11ll1("5paH5Lu25LiN5a2Y5Zyo77yae30="), l11ll1l111l1);
}
} catch (Exception e) {
log.warn(OOO0OO00O00O00OO.l11llll1ll11ll1("6K+75Y+W6ZyA6KaB5pu05paw55qE6aG555uu5Luj56CB5aSx6LSl"));
}
return null;
}
@Deprecated()
public static boolean lll111l111111ll(String lll1l1111111) {
try {
File llll11l1l111 = new File(lll1l1111111);
return llll11l1l111.exists();
} catch (Exception e) {
log.warn(OOO0OO00O00O00OO.l11llll1ll11ll1("6K+75Y+W6ZyA6KaB5pu05paw55qE6aG555uu5Luj56CB5aSx6LSl"));
return false;
}
}
}