public class UncompressInputStream
extends java.io.FilterInputStream
Constructor and Description |
---|
UncompressInputStream(java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
static void |
main(java.lang.String[] args) |
boolean |
markSupported()
This stream does not support mark/reset on the stream.
|
int |
read() |
int |
read(byte[] buf,
int off,
int len) |
long |
skip(long num) |
public UncompressInputStream(java.io.InputStream is) throws java.io.IOException
is
- the input stream to decompressjava.io.IOException
- if the header is malformedpublic int read() throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public int read(byte[] buf, int off, int len) throws java.io.IOException
read
in class java.io.FilterInputStream
java.io.IOException
public long skip(long num) throws java.io.IOException
skip
in class java.io.FilterInputStream
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.FilterInputStream
java.io.IOException
public boolean markSupported()
markSupported
in class java.io.FilterInputStream
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception