/** * Delegates to the archive file's {@link AbstractArchiveFile#getEntryInputStream(ArchiveEntry,ArchiveEntryIterator)}} * method. * * @throws UnsupportedFileOperationException if the underlying archive file does not support * {@link FileOperation#READ_FILE} operations. */ @Override public InputStream getInputStream() throws IOException, UnsupportedFileOperationException { return archiveFile.getEntryInputStream(entry, null); }
@Override public InputStream getInputStream() throws IOException { return archiveFile.getEntryInputStream(entry, iterator); } }