All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.diboot.devtools.v2.OOO0OO0O00O0O000 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.JSON; import com.diboot.core.util.V; import lombok.extern.slf4j.Slf4j; import org.apache.commons.io.FileUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Primary; import org.springframework.stereotype.Service; import java.io.File; import java.io.IOException; @Slf4j @Primary @Service @Deprecated() public class OOO0OO0O00O0O000 implements OO0O00O00OOO00OO { @Autowired private OOOO00O0OO0O0O00 l111l11ll11l1; @Override @Deprecated() public OOOOO000O0OO0000 l1ll11lll11l111() { if (V.notEmpty(l111l11ll11l1.getLicense())) { OOOOO000O0OO0000 l1ll1ll111ll = new OOOOO000O0OO0000(); l1ll1ll111ll.setUid(OO0O0O000O000O0O.l111lll1ll11111(l111l11ll11l1.getLicense())); return l1ll1ll111ll; } String lll11l111ll1 = OO00OO000O00O00O.l111llll1ll11ll(OOOOO000O0OO0000.CACHE_FILE_NAME + "." + O0O0O0000OO0O000.llll1l1lll1l1l); File lll1111l1lll = new File(lll11l111ll1); String ll1l1ll11l11 = null; if (lll1111l1lll.exists()) { try { ll1l1ll11l11 = FileUtils.readFileToString(lll1111l1lll, Cons.CHARSET_UTF8); } catch (IOException e) { log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("6K+75Y+W57yT5a2Y5paH5Lu25Ye66ZSZOiB7fQ=="), e.getMessage()); } } OOOOO000O0OO0000 l1ll1ll111ll = null; if (V.notEmpty(ll1l1ll11l11)) { l1ll1ll111ll = JSON.parseObject(ll1l1ll11l11, OOOOO000O0OO0000.class); if (l1ll1ll111ll != null && OO0O0O000O000O0O.ll11lllll11llll(l1ll1ll111ll.getUid())) { l1ll1ll111ll = null; } } return l1ll1ll111ll; } @Override @Deprecated() public boolean l11llll1l111l1l(OOOOO000O0OO0000 ll1l1ll1l1l1) { String ll1llllll111 = JSON.toJSONString(ll1l1ll1l1l1); String l1111l11l1ll = OO00OO000O00O00O.l111llll1ll11ll(OOOOO000O0OO0000.CACHE_FILE_NAME + "." + O0O0O0000OO0O000.llll1l1lll1l1l); File ll1ll1ll1l11 = new File(l1111l11l1ll); boolean l111lll1l111 = false; try { FileUtils.writeStringToFile(ll1ll1ll1l11, ll1llllll111, Cons.CHARSET_UTF8); l111lll1l111 = true; } catch (IOException e) { log.error(OOO0OO00O00O00OO.l11llll1ll11ll1("5YaZ5YWl57yT5a2Y5paH5Lu25Ye66ZSZOiB7fQ=="), e.getMessage()); } return l111lll1l111; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy