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

com.diboot.devtools.v2.OOOO0O0OOOO00OO0 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.util.S; import com.diboot.core.util.V; import lombok.extern.slf4j.Slf4j; import org.springframework.context.annotation.Primary; import org.springframework.stereotype.Service; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.stream.Collectors; @Slf4j @Service @Primary @Deprecated() public class OOOO0O0OOOO00OO0 implements O0OOO0OO00OOO00O { @Override @Deprecated() public List l111l11lll111l1(String l11l1lllll11) throws Exception { if (V.isEmpty(l11l1lllll11)) { l11l1lllll11 = OOO0OO00O00O00OO.l11llll1ll11ll1("c3JjLw=="); } String lllll1l1llll = OO0O0OOOOO0O0O00.llll11l1ll111l1(O0O0O0000OO0O000.LYR.VIEW); if (V.isEmpty(lllll1l1llll)) { return Collections.emptyList(); } if (lllll1l1llll.contains("\\")) { lllll1l1llll = S.replace(lllll1l1llll, "\\", "/"); } String ll1l1l1l1lll = lllll1l1llll + l11l1lllll11; File l111l11l1l11 = new File(ll1l1l1l1lll); if (!l111l11l1l11.exists()) { return Collections.emptyList(); } if (!l111l11l1l11.isDirectory()) { return Collections.emptyList(); } List l11lll1l1lll = OOO0O00O00O0OO0O.l1ll11l11l1l1ll(l111l11l1l11); if (V.isEmpty(l11lll1l1lll)) { return Collections.emptyList(); } l11lll1l1lll = l11lll1l1lll.stream().filter(l11ll1ll1ll1 -> { String l11l1l11ll1l = l11ll1ll1ll1.getAbsolutePath(); return V.notEmpty(l11l1l11ll1l) && (l11l1l11ll1l.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("dmlld3M=")) || l11l1l11ll1l.contains(OOO0OO00O00O00OO.l11llll1ll11ll1("Y29tcG9uZW50cw=="))); }).collect(Collectors.toList()); List l1l1lll1l11l = new ArrayList<>(); for (File l11ll1ll1ll1 : l11lll1l1lll) { String l11l1l11ll1l = l11ll1ll1ll1.getAbsolutePath(); if (l11l1l11ll1l.contains("\\")) { l11l1l11ll1l = S.replace(l11l1l11ll1l, "\\", "/"); } if (lllll1l1llll.startsWith("/") && !l11l1l11ll1l.startsWith("/")) { l11l1l11ll1l = "/" + l11l1l11ll1l; } String llllll1llll1 = S.replace(l11l1l11ll1l, lllll1l1llll, ""); OO000OOOOOOO00OO l1lll1ll1l11 = new OO000OOOOOOO00OO(); l1lll1ll1l11.setName(l11ll1ll1ll1.getName()).setAbsolutePath(l11l1l11ll1l).setRelativePath(llllll1llll1).setChildren(this.l111l11lll111l1(llllll1llll1)); l1l1lll1l11l.add(l1lll1ll1l11); } return l1l1lll1l11l; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy