public class ZipIterator extends Object implements Iterator<ZipEntry>
The iterator support filtering using ZipEntryFilter
Constructor and Description |
---|
ZipIterator(File file) |
ZipIterator(File file,
ZipEntryFilter filter) |
ZipIterator(InputStream in) |
ZipIterator(InputStream in,
ZipEntryFilter filter) |
ZipIterator(URL url) |
ZipIterator(URL url,
ZipEntryFilter filter) |
ZipIterator(ZipInputStream zin,
ZipEntryFilter filter) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
InputStream |
getInputStream() |
ZipEntry |
getNextEntry() |
boolean |
hasNext() |
ZipEntry |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public ZipIterator(ZipInputStream zin, ZipEntryFilter filter) throws IOException
IOException
public ZipIterator(URL url) throws IOException
IOException
public ZipIterator(URL url, ZipEntryFilter filter) throws IOException
IOException
public ZipIterator(File file) throws IOException
IOException
public ZipIterator(File file, ZipEntryFilter filter) throws IOException
IOException
public ZipIterator(InputStream in) throws IOException
IOException
public ZipIterator(InputStream in, ZipEntryFilter filter) throws IOException
IOException
public ZipEntry getNextEntry() throws IOException
IOException
public InputStream getInputStream()
public void close()
Copyright © 2016 Nuxeo SA. All rights reserved.