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 ZipArchiveEntry
currentEntry
private java.util.Enumeration<ZipArchiveEntry>
nestedEnumeration
private ZipFile
zipFile
-
Constructor Summary
Constructors Constructor Description ZipFileIterator(ZipFile zipFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStream
getInputStream()
boolean
hasNext()
ZipArchiveEntry
next()
-
-
-
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:
getInputStream
in interfaceChangeSetPerformer.ArchiveEntryIterator<ZipArchiveEntry>
- Throws:
java.io.IOException
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceChangeSetPerformer.ArchiveEntryIterator<ZipArchiveEntry>
-
next
public ZipArchiveEntry next()
- Specified by:
next
in interfaceChangeSetPerformer.ArchiveEntryIterator<ZipArchiveEntry>
-
-