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 Details
-
hasNext
- Throws:
IOException
-
next
ArchiveEntry next() -
getInputStream
- Throws:
IOException
-