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.
|
read
available, close, mark, markSupported, read, reset
public DecompressableInputStream(InputStream input)
input
- stream to read from.public int read() throws IOException
read
in class InputStream
IOException
public long skip(long n) throws IOException
skip
in class InputStream
IOException
public void startDecompressing() throws IOException
IOException
- if read fails.Copyright © 2016. All rights reserved.