Interface ChangeSetPerformer.ArchiveEntryIterator
-
- All Known Implementing Classes:
ChangeSetPerformer.ArchiveInputStreamIterator
,ChangeSetPerformer.ZipFileIterator
- Enclosing class:
- ChangeSetPerformer
static interface ChangeSetPerformer.ArchiveEntryIterator
Used in perform to abstract out getting entries and streams for those 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()
ArchiveEntry
next()
-
-
-
Method Detail
-
hasNext
boolean hasNext() throws java.io.IOException
- Throws:
java.io.IOException
-
next
ArchiveEntry next()
-
getInputStream
java.io.InputStream getInputStream() throws java.io.IOException
- Throws:
java.io.IOException
-
-