Class InflaterInputStream
java.lang.Object
java.io.InputStream
com.codename1.io.gzip.FilterInputStream
com.codename1.io.gzip.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 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 closeIn) -
Method Summary
Methods inherited from class FilterInputStream
read
-
Field Details
-
DEFAULT_BUFSIZE
protected static final int DEFAULT_BUFSIZE- See Also:
-
inflater
-
buf
protected byte[] buf -
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 closeIn) 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
-