本文整理了Java中com.sun.tools.javac.file.ZipArchive
类的一些代码示例,展示了ZipArchive
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZipArchive
类的具体详情如下:
包路径:com.sun.tools.javac.file.ZipArchive
类名称:ZipArchive
[英]This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
[中]这不是任何受支持的API的一部分。如果您编写的代码依赖于此,那么您将自担风险。本代码及其内部接口如有更改或删除,恕不另行通知。
代码示例来源:origin: konsoletyper/teavm-javac
protected void initMap() throws IOException {
for (Enumeration<? extends ZipEntry> e = zfile.entries(); e.hasMoreElements(); ) {
ZipEntry entry;
try {
entry = e.nextElement();
} catch (InternalError ex) {
IOException io = new IOException();
io.initCause(ex); // convenience constructors added in Mustang :-(
throw io;
}
addZipEntry(entry);
}
}
代码示例来源:origin: konsoletyper/teavm-javac
protected ZipArchive(JavacFileManager fm, ZipFile zfile, boolean initMap) throws IOException {
this.fileManager = fm;
this.zfile = zfile;
this.map = new HashMap<RelativeDirectory,List<String>>();
if (initMap)
initMap();
}
代码示例来源:origin: com.cloudbees/groovy-cps-dgm-builder
ZipArchive a = new ZipArchive((JavacFileManager) fileManager, new ZipFile(groovySrcJar));
src.add(a.getFileObject(new RelativeDirectory("org/codehaus/groovy/runtime"),name+".java"));
代码示例来源:origin: sc.fiji/javac
archive = new ZipArchive(this, zdir);
} else {
archive = new ZipFileIndexArchive(this,
代码示例来源:origin: konsoletyper/teavm-javac
archive = new ZipArchive(this, zdir);
} else {
archive = new ZipFileIndexArchive(this,
代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac
archive = new ZipArchive(this, zdir);
} else {
archive = new ZipFileIndexArchive(this,
代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac
protected ZipArchive(JavacFileManager fm, ZipFile zfile, boolean initMap) throws IOException {
this.fileManager = fm;
this.zfile = zfile;
this.map = new HashMap<RelativeDirectory,List<String>>();
if (initMap)
initMap();
}
代码示例来源:origin: org.kohsuke.sorcerer/sorcerer-javac
protected void initMap() throws IOException {
for (Enumeration<? extends ZipEntry> e = zfile.entries(); e.hasMoreElements(); ) {
ZipEntry entry;
try {
entry = e.nextElement();
} catch (InternalError ex) {
IOException io = new IOException();
io.initCause(ex); // convenience constructors added in Mustang :-(
throw io;
}
addZipEntry(entry);
}
}
代码示例来源:origin: sc.fiji/javac
protected ZipArchive(JavacFileManager fm, ZipFile zfile, boolean initMap) throws IOException {
this.fileManager = fm;
this.zfile = zfile;
this.map = new HashMap<RelativeDirectory,List<String>>();
if (initMap)
initMap();
}
代码示例来源:origin: sc.fiji/javac
protected void initMap() throws IOException {
for (Enumeration<? extends ZipEntry> e = zfile.entries(); e.hasMoreElements(); ) {
ZipEntry entry;
try {
entry = e.nextElement();
} catch (InternalError ex) {
IOException io = new IOException();
io.initCause(ex); // convenience constructors added in Mustang :-(
throw io;
}
addZipEntry(entry);
}
}
内容来源于网络,如有侵权,请联系作者删除!