class LazyDecompressingInputStream extends InputStream
Modifier and Type | Field and Description |
---|---|
private InputStreamFactory |
inputStreamFactory |
private InputStream |
wrappedStream |
private InputStream |
wrapperStream |
Constructor and Description |
---|
LazyDecompressingInputStream(InputStream wrappedStream,
InputStreamFactory inputStreamFactory) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
private void |
initWrapper() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long n) |
mark, reset
private final InputStream wrappedStream
private final InputStreamFactory inputStreamFactory
private InputStream wrapperStream
public LazyDecompressingInputStream(InputStream wrappedStream, InputStreamFactory inputStreamFactory)
private void initWrapper() throws IOException
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b) throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public boolean markSupported()
markSupported
in class InputStream
public int available() throws IOException
available
in class InputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses