Class ChangeSetPerformer.ZipFileIterator
- java.lang.Object
-
- org.apache.commons.compress.changes.ChangeSetPerformer.ZipFileIterator
-
- All Implemented Interfaces:
ChangeSetPerformer.ArchiveEntryIterator<ZipArchiveEntry>
- Enclosing class:
- ChangeSetPerformer<I extends ArchiveInputStream<E>,O extends ArchiveOutputStream<E>,E extends ArchiveEntry>
private static final class ChangeSetPerformer.ZipFileIterator extends java.lang.Object implements ChangeSetPerformer.ArchiveEntryIterator<ZipArchiveEntry>
-
-
Field Summary
Fields Modifier and Type Field Description private ZipArchiveEntrycurrentEntryprivate java.util.Enumeration<ZipArchiveEntry>nestedEnumerationprivate ZipFilezipFile
-
Constructor Summary
Constructors Constructor Description ZipFileIterator(ZipFile zipFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStreamgetInputStream()booleanhasNext()ZipArchiveEntrynext()
-
-
-
Field Detail
-
zipFile
private final ZipFile zipFile
-
nestedEnumeration
private final java.util.Enumeration<ZipArchiveEntry> nestedEnumeration
-
currentEntry
private ZipArchiveEntry currentEntry
-
-
Constructor Detail
-
ZipFileIterator
ZipFileIterator(ZipFile zipFile)
-
-
Method Detail
-
getInputStream
public java.io.InputStream getInputStream() throws java.io.IOException- Specified by:
getInputStreamin interfaceChangeSetPerformer.ArchiveEntryIterator<ZipArchiveEntry>- Throws:
java.io.IOException
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceChangeSetPerformer.ArchiveEntryIterator<ZipArchiveEntry>
-
next
public ZipArchiveEntry next()
- Specified by:
nextin interfaceChangeSetPerformer.ArchiveEntryIterator<ZipArchiveEntry>
-
-