public static class CompressionFilter.InflaterInputShell extends InflaterInputStream
buf, inf, lenin| Constructor and Description |
|---|
InflaterInputShell(InputStream stream,
Inflater inflater)
Create a new input stream with the specified decompressor.
|
InflaterInputShell(InputStream stream,
Inflater inflater,
int cbSize)
Create a new input stream with the specified decompressor and
buffer size.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the input stream.
|
int |
read()
Overrides the underlying
InflaterInputStream.read()
implementation making the known bug fix in JDK 1.4.1
(
"InflaterInputStream is very memory inefficient")
retroactive for prior JDKs. |
available, fill, mark, markSupported, read, reset, skipreadpublic InflaterInputShell(InputStream stream, Inflater inflater)
stream - the input streaminflater - the decompressor ("inflater")public InflaterInputShell(InputStream stream, Inflater inflater, int cbSize)
stream - the input streaminflater - the decompressor ("inflater")cbSize - the input buffer sizepublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InflaterInputStreamIOExceptionpublic int read()
throws IOException
InflaterInputStream.read()
implementation making the known bug fix in JDK 1.4.1
(
"InflaterInputStream is very memory inefficient")
retroactive for prior JDKs.read in class InflaterInputStreamIOException