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
Modifier and TypeFieldDescriptionprotected byte[]
protected static final int
protected final Inflater
protected boolean
Fields inherited from class java.io.FilterInputStream
in
-
Constructor Summary
ConstructorDescriptionInflaterInputStream
(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
read
Methods 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:
read
in classFilterInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classFilterInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classFilterInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classFilterInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classFilterInputStream
- Throws:
IOException
-
fill
- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupported
in classFilterInputStream
-
mark
public void mark(int readlimit) - Overrides:
mark
in classFilterInputStream
-
reset
- Overrides:
reset
in classFilterInputStream
- Throws:
IOException
-
getTotalIn
public long getTotalIn() -
getTotalOut
public long getTotalOut() -
getAvailIn
public byte[] getAvailIn() -
readHeader
- Throws:
IOException
-
getInflater
-