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