/** * Expose the raw stream of the archive entry (compressed form). * * <p>This method does not relate to how/if we understand the payload in the * stream, since we really only intend to move it on to somewhere else.</p> * * @param ze The entry to get the stream for * @return The raw input stream containing (possibly) compressed data. * @since 1.11 */ public InputStream getRawInputStream(final ZipArchiveEntry ze) { if (!(ze instanceof Entry)) { return null; } final long start = ze.getDataOffset(); return createBoundedInputStream(start, ze.getCompressedSize()); }
final long start = ze.getDataOffset();
/** * Expose the raw stream of the archive entry (compressed form). * * <p>This method does not relate to how/if we understand the payload in the * stream, since we really only intend to move it on to somewhere else.</p> * * @param ze The entry to get the stream for * @return The raw input stream containing (possibly) compressed data. * @since 1.11 */ public InputStream getRawInputStream(final ZipArchiveEntry ze) { if (!(ze instanceof Entry)) { return null; } final long start = ze.getDataOffset(); return createBoundedInputStream(start, ze.getCompressedSize()); }
final long start = ze.getDataOffset();