| java.lang.Object | |||
| ↳ | java.io.InputStream | ||
| ↳ | java.io.FilterInputStream | ||
| ↳ | java.util.zip.InflaterInputStream | ||
Known Direct Subclasses
|
Known Indirect Subclasses
|
InflaterOutputStream read data which has been compressed using the DEFLATE compression method.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| buf | |||||||||||
| inf | |||||||||||
| len | |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.io.FilterInputStream
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new InflaterOutputStream on is
| |||||||||||
Constructs a new InflaterOutputStream on is, using the Inflater provided
in inf.
| |||||||||||
Constructs a new InflaterOutputStream on is, using the Inflater provided
in inf.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns 0 if this stream has been closed, 1 otherwise.
| |||||||||||
Closes the stream
| |||||||||||
Marks the current position in the stream.
| |||||||||||
Returns whether the receiver implements mark semantics.
| |||||||||||
Reads up to nbytes of decompressed data and stores it in buf starting at
off.
| |||||||||||
Reads a single byte of decompressed data.
| |||||||||||
Reset the position of the stream to the last mark position.
| |||||||||||
Skips up to nbytes of uncompressed data.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.io.FilterInputStream
| |||||||||||
From class java.io.InputStream
| |||||||||||
From class java.lang.Object
| |||||||||||
From interface java.io.Closeable
| |||||||||||
Constructs a new InflaterOutputStream on is
| is | The InputStream to read data from |
|---|
Constructs a new InflaterOutputStream on is, using the Inflater provided in inf.
| is | The InputStream to read data from |
|---|---|
| inf | The Inflater to use for decompression |
Constructs a new InflaterOutputStream on is, using the Inflater provided in inf. The size of the inflation buffer is determined by bsize.
| is | The InputStream to read data from |
|---|---|
| inf | The Inflater to use for decompression |
| bsize | size of the inflation buffer |
Returns 0 if this stream has been closed, 1 otherwise.
| IOException | If an error occurs |
|---|
Closes the stream
| IOException | If an error occurs closing the stream |
|---|
Marks the current position in the stream. This implementation overrides the supertype implementation to do nothing at all.
| readlimit | of no use |
|---|
Returns whether the receiver implements mark semantics. This type
does not support mark, so always responds false.
Reads up to nbytes of decompressed data and stores it in buf starting at off.
| buffer | Buffer to store into |
|---|---|
| off | offset in buffer to store at |
| nbytes | number of bytes to store |
| IOException | If an error occurs reading |
|---|
Reads a single byte of decompressed data.
| IOException | If an error occurs reading |
|---|
Reset the position of the stream to the last mark position. This implementation overrides the supertype implementation and always throws an IOException when called.
| IOException | if the method is called |
|---|
Skips up to nbytes of uncompressed data.
| nbytes | Number of bytes to skip |
|---|
| IOException | If an error occurs skipping |
|---|
| IOException |
|---|