本文整理了Java中de.schlichtherle.truezip.fs.archive.zip.ZipDriver.<init>()
方法的一些代码示例,展示了ZipDriver.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZipDriver.<init>()
方法的具体详情如下:
包路径:de.schlichtherle.truezip.fs.archive.zip.ZipDriver
类名称:ZipDriver
方法名:<init>
[英]Constructs a new ZIP driver. This constructor uses #ZIP_CHARSET for encoding entry names and comments.
[中]构造一个新的ZIP驱动程序。此构造函数使用#ZIP_字符集对条目名称和注释进行编码。
代码示例来源:origin: Alfresco/alfresco-repository
public WarHelperImplTest()
{
super(new LogOutput()
{
@Override
public void info(Object message)
{
System.out.println(message);
}
});
TConfig config = TConfig.get();
config.setArchiveDetector(new TArchiveDetector("war|amp", new ZipDriver(IOPoolLocator.SINGLETON)));
}
代码示例来源:origin: org.codehaus.mojo/truezip-utils
@PostConstruct
public void init()
{
TConfig.get().setArchiveDetector( new TArchiveDetector( TArchiveDetector.NULL, new Object[][] {
{ "tar|ova", new TarDriver( IOPoolLocator.SINGLETON ) },
{ "tgz|tar.gz", new TarGZipDriver( IOPoolLocator.SINGLETON ) },
{ "tbz2|tar.bz2", new TarBZip2Driver( IOPoolLocator.SINGLETON ) },
{ "zip|kar", new ZipDriver( IOPoolLocator.SINGLETON ) },
{ "jar|war|ear|sar|swc|nar|esb|par",
new JarDriver( IOPoolLocator.SINGLETON ) }, } ) );
}
}
代码示例来源:origin: de.schlichtherle.truezip/truezip-driver-zip
@Override
protected ZipDriver newArchiveDriver() {
return new ZipDriver(getTestConfig().getIOPoolProvider());
}
}
代码示例来源:origin: de.schlichtherle.truezip/truezip-driver-zip
@Override
protected ZipDriver newArchiveDriver() {
return new ZipDriver(getTestConfig().getIOPoolProvider());
}
}
代码示例来源:origin: de.schlichtherle.truezip/truezip-driver-zip
@Override
protected ZipDriver newArchiveDriver() {
return new ZipDriver(getTestConfig().getIOPoolProvider());
}
}
代码示例来源:origin: de.schlichtherle.truezip/truezip-driver-zip
@Override
protected ZipDriver newArchiveDriver() {
return new ZipDriver(getTestConfig().getIOPoolProvider());
}
内容来源于网络,如有侵权,请联系作者删除!