public static class ZipFile.ZipInflaterInputStream extends InflaterInputStream
buf, inf, lenin| Constructor and Description |
|---|
ZipInflaterInputStream(InputStream is,
Inflater inf,
int bsize,
ZipEntry entry) |
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Returns 0 when when this stream has exhausted its input; and 1 otherwise.
|
int |
read(byte[] buffer,
int byteOffset,
int byteCount)
Reads up to
byteCount bytes of decompressed data and stores it in
buffer starting at byteOffset. |
close, fill, mark, markSupported, read, reset, skipnullInputStream, read, readAllBytes, readNBytes, readNBytes, transferTopublic ZipInflaterInputStream(InputStream is, Inflater inf, int bsize, ZipEntry entry)
public int read(byte[] buffer,
int byteOffset,
int byteCount)
throws IOException
InflaterInputStreambyteCount bytes of decompressed data and stores it in
buffer starting at byteOffset. Returns the number of uncompressed bytes read,
or -1.read in class InflaterInputStreamIOException - if the stream is closed or another IOException occurs.public int available()
throws IOException
InflaterInputStreamAlthough consistent with the RI, this behavior is inconsistent with
InputStream.available(), and violates the Liskov
Substitution Principle. This method should not be used.
available in class InflaterInputStreamIOException - if this stream is closed or an error occurs