public final class FlateFilterDecoderStream extends FilterInputStream
in| Constructor and Description |
|---|
FlateFilterDecoderStream(InputStream inputStream)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Unsupported.
|
void |
close()
This will close the underlying stream and release any resources.
|
void |
mark(int readlimit)
Unsupported.
|
boolean |
markSupported()
mark/reset isn't supported.
|
int |
read()
This will read the next byte from the stream.
|
int |
read(byte[] data,
int offset,
int length)
This will read a chunk of data.
|
void |
reset()
Unsupported.
|
long |
skip(long n)
Unsupported.
|
readpublic FlateFilterDecoderStream(InputStream inputStream) throws IOException
inputStream - The input stream to actually read from.IOExceptionpublic int read()
throws IOException
read in class FilterInputStreamIOException - If there is an error reading from the wrapped stream.public int read(byte[] data,
int offset,
int length)
throws IOException
read in class FilterInputStreamdata - The buffer to write data to.offset - The offset into the data stream.length - The number of byte to attempt to read.IOException - If there is an error reading data from the underlying stream.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOException - If there is an error closing the underlying stream.public boolean markSupported()
markSupported in class FilterInputStreampublic long skip(long n)
skip in class FilterInputStreamn - ignored.public int available()
available in class FilterInputStreampublic void mark(int readlimit)
mark in class FilterInputStreamreadlimit - ignored.public void reset()
throws IOException
reset in class FilterInputStreamIOException - always throw as reset is an unsupported feature.Copyright © 2002–2025 The Apache Software Foundation. All rights reserved.