Package com.jcraft.jzlib
Class InflaterInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
com.jcraft.jzlib.InflaterInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
- Direct Known Subclasses:
GZIPInputStream
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected byte[]protected static final intprotected final Inflaterprotected booleanFields inherited from class java.io.FilterInputStream
in -
Constructor Summary
ConstructorsConstructorDescriptionInflaterInputStream(InputStream in, boolean nowrap) InflaterInputStream(InputStream in, Inflater inflater) InflaterInputStream(InputStream in, Inflater inflater, int size) InflaterInputStream(InputStream in, Inflater inflater, int size, boolean close_in) -
Method Summary
Methods inherited from class java.io.FilterInputStream
readMethods inherited from class java.io.InputStream
nullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
-
Field Details
-
inflater
-
buf
protected byte[] buf -
DEFAULT_BUFSIZE
protected static final int DEFAULT_BUFSIZE- See Also:
-
myinflater
protected boolean myinflater
-
-
Constructor Details
-
InflaterInputStream
- Throws:
IOException
-
InflaterInputStream
- Throws:
IOException
-
InflaterInputStream
- Throws:
IOException
-
InflaterInputStream
- Throws:
IOException
-
InflaterInputStream
public InflaterInputStream(InputStream in, Inflater inflater, int size, boolean close_in) throws IOException - Throws:
IOException
-
-
Method Details
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
read
- Overrides:
readin classFilterInputStream- Throws:
IOException
-
available
- Overrides:
availablein classFilterInputStream- Throws:
IOException
-
skip
- Overrides:
skipin classFilterInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterInputStream- Throws:
IOException
-
fill
- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classFilterInputStream
-
mark
public void mark(int readlimit) - Overrides:
markin classFilterInputStream
-
reset
- Overrides:
resetin classFilterInputStream- Throws:
IOException
-
getTotalIn
public long getTotalIn() -
getTotalOut
public long getTotalOut() -
getAvailIn
public byte[] getAvailIn() -
readHeader
- Throws:
IOException
-
getInflater
-