本文整理了Java中de.schlichtherle.truezip.zip.ZipFile.entries()
方法的一些代码示例,展示了ZipFile.entries()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZipFile.entries()
方法的具体详情如下:
包路径:de.schlichtherle.truezip.zip.ZipFile
类名称:ZipFile
方法名:entries
[英]Enumerates clones of all entries in this ZIP file.
[中]枚举此ZIP文件中所有条目的克隆。
代码示例来源:origin: uk.gov.nationalarchives/droid-core-interfaces
public ZipFileIterator(ZipFile fileToIterate) {
entries = fileToIterate.entries();
}
代码示例来源:origin: digital-preservation/droid
public ZipFileIterator(ZipFile fileToIterate) {
entries = fileToIterate.entries();
}
代码示例来源:origin: org.apache.maven.indexer/indexer-core
public List<String> getEntries( EntryNameFilter filter )
{
ArrayList<String> entries = new ArrayList<String>();
Enumeration<? extends ZipEntry> en = getZipFile().entries();
while ( en.hasMoreElements() )
{
final ZipEntry e = en.nextElement();
final String name = e.getName();
if ( filter != null && !filter.accepts( name ) )
{
continue;
}
entries.add( name );
}
return entries;
}
代码示例来源:origin: apache/maven-indexer
public List<String> getEntries( EntryNameFilter filter )
{
ArrayList<String> entries = new ArrayList<String>();
Enumeration<? extends ZipEntry> en = getZipFile().entries();
while ( en.hasMoreElements() )
{
final ZipEntry e = en.nextElement();
final String name = e.getName();
if ( filter != null && !filter.accepts( name ) )
{
continue;
}
entries.add( name );
}
return entries;
}
代码示例来源:origin: org.jboss.windup.org.apache.maven.indexer/indexer-core
public List<String> getEntries( EntryNameFilter filter )
{
ArrayList<String> entries = new ArrayList<String>();
Enumeration<? extends ZipEntry> en = getZipFile().entries();
while ( en.hasMoreElements() )
{
final ZipEntry e = en.nextElement();
final String name = e.getName();
if ( filter != null && !filter.accepts( name ) )
{
continue;
}
entries.add( name );
}
return entries;
}
代码示例来源:origin: uk.gov.nationalarchives/droid-results
for (Enumeration<? extends ZipEntry> it = zip.entries(); it
.hasMoreElements();) {
ZipEntry e = it.nextElement();
for (Enumeration<? extends ZipEntry> it = zip.entries(); it
.hasMoreElements();) {
ZipEntry entry = it.nextElement();
代码示例来源:origin: digital-preservation/droid
for (final Enumeration<? extends ZipEntry> it = zip.entries(); it
.hasMoreElements();) {
ZipEntry e = it.nextElement();
for (final Enumeration<? extends ZipEntry> it = zip.entries(); it
.hasMoreElements();) {
ZipEntry entry = it.nextElement();
代码示例来源:origin: de.schlichtherle.truezip/truezip-driver-zip
try {
final byte[] buf = new byte[data.length];
for ( final Enumeration<? extends ZipEntry> e = zf.entries();
e.hasMoreElements(); ) {
final ZipEntry entry = e.nextElement();
内容来源于网络,如有侵权,请联系作者删除!