public class DecompressableInputStream extends DecodingInputStream
| Constructor and Description |
|---|
DecompressableInputStream(InputStream input)
Creates a Decompressable input stream from given stream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
long |
skip(long n) |
void |
startDecompressing()
Start reading in compressed mode from the next byte.
|
readavailable, close, mark, markSupported, read, resetpublic DecompressableInputStream(InputStream input)
input - stream to read from.public int read()
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic void startDecompressing()
throws IOException
IOException - if read fails.Copyright © 2016. All rights reserved.