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 SummaryFieldsModifier and TypeFieldDescriptionprotected byte[]protected static final intprotected final Inflaterprotected booleanFields inherited from class java.io.FilterInputStreamin
- 
Constructor SummaryConstructorsConstructorDescriptionInflaterInputStream(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 SummaryMethods inherited from class java.io.FilterInputStreamreadMethods inherited from class java.io.InputStreamnullInputStream, readAllBytes, readNBytes, readNBytes, skipNBytes, transferTo
- 
Field Details- 
inflater
- 
bufprotected byte[] buf
- 
DEFAULT_BUFSIZEprotected static final int DEFAULT_BUFSIZE- See Also:
 
- 
myinflaterprotected boolean myinflater
 
- 
- 
Constructor Details- 
InflaterInputStream- Throws:
- IOException
 
- 
InflaterInputStream- Throws:
- IOException
 
- 
InflaterInputStream- Throws:
- IOException
 
- 
InflaterInputStream- Throws:
- IOException
 
- 
InflaterInputStreampublic InflaterInputStream(InputStream in, Inflater inflater, int size, boolean close_in) throws IOException - Throws:
- IOException
 
 
- 
- 
Method Details- 
read- Overrides:
- readin class- FilterInputStream
- Throws:
- IOException
 
- 
read- Overrides:
- readin class- FilterInputStream
- Throws:
- IOException
 
- 
available- Overrides:
- availablein class- FilterInputStream
- Throws:
- IOException
 
- 
skip- Overrides:
- skipin class- FilterInputStream
- Throws:
- IOException
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- FilterInputStream
- Throws:
- IOException
 
- 
fill- Throws:
- IOException
 
- 
markSupportedpublic boolean markSupported()- Overrides:
- markSupportedin class- FilterInputStream
 
- 
markpublic void mark(int readlimit) - Overrides:
- markin class- FilterInputStream
 
- 
reset- Overrides:
- resetin class- FilterInputStream
- Throws:
- IOException
 
- 
getTotalInpublic long getTotalIn()
- 
getTotalOutpublic long getTotalOut()
- 
getAvailInpublic byte[] getAvailIn()
- 
readHeader- Throws:
- IOException
 
- 
getInflater
 
-