| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| protected byte[] | |
| private byte[] | |
| private boolean | |
| private boolean | |
| protected static final int | |
| private boolean | |
| protected final Inflater | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | InflaterInputStream(InputStream in, Inflater inflater)
Deprecated
as a consequence of
Inflater being deprecated.
|
| public | InflaterInputStream(InputStream in, Inflater inflater, int size)
Deprecated
as a consequence of
Inflater being deprecated.
|
| public | InflaterInputStream(InputStream in, Inflater inflater, int size, boolean close_in)
Deprecated
as a consequence of
Inflater being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public int | available()
Overrides java. |
| public void | close()
Overrides java. Implements java. |
| protected void | |
| public byte[] | |
| public Inflater | |
| public long | |
| public long | |
| public synchronized void | mark(int
the maximum limit of bytes that can be read before
the mark position becomes invalid. readlimit)Overrides java. |
| public boolean | markSupported()
Overrides java. mark
and reset methods.
|
| public int | |
| public int | read(byte[]
the buffer into which the data is read. b, int the start offset in array off, int b
at which the data is written.the maximum number of bytes to read. len)Overrides java. len bytes of data from this input stream
into an array of bytes.
|
| public void | |
| public synchronized void | reset()
Overrides java. mark method was last called on this input stream.
|
| public long | skip(long
the number of bytes to be skipped. n)Overrides java. n bytes of data from the
input stream.
|
| b | back to summary |
|---|---|
| private byte[] b | |
| buf | back to summary |
|---|---|
| protected byte[] buf | |
| byte1 | back to summary |
|---|---|
| private byte[] byte1 | |
| close_in | back to summary |
|---|---|
| private boolean close_in | |
| closed | back to summary |
|---|---|
| private boolean closed | |
| DEFAULT_BUFSIZE | back to summary |
|---|---|
| protected static final int DEFAULT_BUFSIZE | |
| eof | back to summary |
|---|---|
| private boolean eof | |
| inflater | back to summary |
|---|---|
| protected final Inflater inflater
Deprecated as a consequence of | |
| myinflater | back to summary |
|---|---|
| protected boolean myinflater | |
| InflaterInputStream | back to summary |
|---|---|
| public InflaterInputStream(InputStream in) throws IOException | |
| InflaterInputStream | back to summary |
|---|---|
| public InflaterInputStream(InputStream in, boolean nowrap) throws IOException | |
| InflaterInputStream | back to summary |
|---|---|
| public InflaterInputStream(InputStream in, Inflater inflater) throws IOException
Deprecated as a consequence of | |
| InflaterInputStream | back to summary |
|---|---|
| public InflaterInputStream(InputStream in, Inflater inflater, int size) throws IOException
Deprecated as a consequence of | |
| InflaterInputStream | back to summary |
|---|---|
| public InflaterInputStream(InputStream in, Inflater inflater, int size, boolean close_in) throws IOException
Deprecated as a consequence of | |
| available | back to summary |
|---|---|
| public int available() throws IOException Overrides java. Doc from java. Returns an estimate of the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream. The next caller might be the same thread or another thread. A single read or skip of this many bytes will not block, but may read or skip fewer bytes.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this input stream and releases any system resources associated with the stream.
| |
| fill | back to summary |
|---|---|
| protected void fill() throws IOException | |
| getAvailIn | back to summary |
|---|---|
| public byte[] getAvailIn() | |
| getInflater | back to summary |
|---|---|
| public Inflater getInflater()
Deprecated as a consequence of | |
| getTotalIn | back to summary |
|---|---|
| public long getTotalIn() | |
| getTotalOut | back to summary |
|---|---|
| public long getTotalOut() | |
| mark | back to summary |
|---|---|
| public synchronized void mark(int readlimit) Overrides java. Doc from java. Marks the current position in this input stream. A subsequent
call to the
The
| |
| markSupported | back to summary |
|---|---|
| public boolean markSupported() Overrides java. Doc from java. Tests if this input stream supports the
| |
| read | back to summary |
|---|---|
| public int read() throws IOException Overrides java. Doc from java. Reads the next byte of data from the input stream. The value byte is
returned as an
| |
| read | back to summary |
|---|---|
| public int read(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Reads up to
| |
| readHeader | back to summary |
|---|---|
| public void readHeader() throws IOException | |
| reset | back to summary |
|---|---|
| public synchronized void reset() throws IOException Overrides java. Doc from java. Repositions this stream to the position at the time the
Stream marks are intended to be used in situations where you need to read ahead a little to see what's in the stream. Often this is most easily done by invoking some general parser. If the stream is of the type handled by the parse, it just chugs along happily. If the stream is not of that type, the parser should toss an exception when it fails. If this happens within readlimit bytes, it allows the outer code to reset the stream and try another parser.
| |
| skip | back to summary |
|---|---|
| public long skip(long n) throws IOException Overrides java. Doc from java. Skips over and discards
| |