@Deprecated
public class UncompressInputStream
extends java.io.FilterInputStream
This version has been modified from the original 0.3-3 version by the Unidata Program Center (support@unidata.ucar.edu) to make the constructor public and to fix a couple of bugs. Also: - markSupported() returns false - add uncompress() static method
| Constructor and Description |
|---|
UncompressInputStream(java.io.InputStream is)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Deprecated.
|
boolean |
markSupported()
Deprecated.
This stream does not support mark/reset on the stream.
|
int |
read()
Deprecated.
|
int |
read(byte[] buf,
int off,
int len)
Deprecated.
|
long |
skip(long num)
Deprecated.
|
static void |
uncompress(java.lang.String fileInName,
java.io.FileOutputStream out)
Deprecated.
|
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.FilterInputStreamjava.io.IOExceptionpublic int read(byte[] buf,
int off,
int len)
throws java.io.IOException
read in class java.io.FilterInputStreamjava.io.IOExceptionpublic long skip(long num)
throws java.io.IOException
skip in class java.io.FilterInputStreamjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.FilterInputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.FilterInputStreampublic static void uncompress(java.lang.String fileInName,
java.io.FileOutputStream out)
throws java.io.IOException
java.io.IOException