本文整理了Java中edu.umd.cs.findbugs.classfile.impl.ZipInputStreamCodeBase.<init>()
方法的一些代码示例,展示了ZipInputStreamCodeBase.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZipInputStreamCodeBase.<init>()
方法的具体详情如下:
包路径:edu.umd.cs.findbugs.classfile.impl.ZipInputStreamCodeBase
类名称:ZipInputStreamCodeBase
方法名:<init>
[英]Constructor.
[中]建造师。
代码示例来源:origin: spotbugs/spotbugs
public static AbstractScannableCodeBase makeZipCodeBase(ICodeBaseLocator codeBaseLocator, File file) throws IOException {
Profiler profiler = Global.getAnalysisCache().getProfiler();
profiler.start(ZipCodeBaseFactory.class);
try {
return new ZipFileCodeBase(codeBaseLocator, file);
} catch (ZipException e) {
// May be too many zip entries
return new ZipInputStreamCodeBase(codeBaseLocator, file);
} finally {
profiler.end(ZipCodeBaseFactory.class);
}
}
代码示例来源:origin: com.google.code.findbugs/findbugs
public static AbstractScannableCodeBase makeZipCodeBase(ICodeBaseLocator codeBaseLocator, File file) throws IOException {
Profiler profiler = Global.getAnalysisCache().getProfiler();
profiler.start(ZipCodeBaseFactory.class);
try {
return new ZipFileCodeBase(codeBaseLocator, file);
} catch (ZipException e) {
// May be too many zip entries
return new ZipInputStreamCodeBase(codeBaseLocator, file);
} finally {
profiler.end(ZipCodeBaseFactory.class);
}
}
内容来源于网络,如有侵权,请联系作者删除!