Interface ChangeSetPerformer.ArchiveEntryIterator<E extends ArchiveEntry>
-
- All Known Implementing Classes:
ChangeSetPerformer.ArchiveInputStreamIterator
,ChangeSetPerformer.ZipFileIterator
- Enclosing class:
- ChangeSetPerformer<I extends ArchiveInputStream<E>,O extends ArchiveOutputStream<E>,E extends ArchiveEntry>
private static interface ChangeSetPerformer.ArchiveEntryIterator<E extends ArchiveEntry>
Abstracts getting entries and streams for archive entries.Iterator#hasNext is not allowed to throw exceptions that's why we can't use Iterator<ArchiveEntry> directly - otherwise we'd need to convert exceptions thrown in ArchiveInputStream#getNextEntry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStream
getInputStream()
boolean
hasNext()
E
next()
-
-
-
Method Detail
-
getInputStream
java.io.InputStream getInputStream() throws java.io.IOException
- Throws:
java.io.IOException
-
hasNext
boolean hasNext() throws java.io.IOException
- Throws:
java.io.IOException
-
next
E next()
-
-