public class DecompressingInputStream extends FilterInputStream
CompressingOutputStreamin| Constructor and Description |
|---|
DecompressingInputStream(InputStream in)
Constructor which wraps an input stream, and initializes the code map
with all possible values of a single byte, before increasing the codesize
to the size of one byte + 1 to make place for the next code
|
| Modifier and Type | Method and Description |
|---|---|
void |
mark(int i) |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
available, close, markSupportedpublic DecompressingInputStream(InputStream in)
in - -
the input stream to read the compressed data frompublic int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic void mark(int i)
mark in class FilterInputStreampublic void reset()
throws IOException
reset in class FilterInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class FilterInputStreamIOExceptionCopyright © 2014. All Rights Reserved.