getRawInputStream

Gets the raw stream of the archive entry (compressed form).

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.

Since version 1.22, this method will make an attempt to read the entry's data stream offset, even if the ignoreLocalFileHeader parameter was true in the constructor. An IOException can also be thrown from the body of the method if this lookup fails for some reason.

Return

The raw input stream containing (possibly) compressed data.

Since

1.11

Parameters

ze

The entry to get the stream for

Throws

if there is a problem reading data offset (added in version 1.22).


Gets the raw stream of the stored archive entry starting from fromIndex.

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.

Return

The raw input stream containing data.

Parameters

ze

The stored entry to get the stream for

fromIndex

The index in the entry that the stream will start from

Throws

if there is a problem reading data offset.