public class UncompressInputStream extends FilterInputStream
in
Constructor and Description |
---|
UncompressInputStream(InputStream is) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
static void |
main(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) |
static void |
uncompress(String fileInName,
FileOutputStream out) |
close, mark, read, reset
public UncompressInputStream(InputStream is) throws IOException
is
- the input stream to decompressIOException
- if the header is malformedpublic int read() throws IOException
read
in class FilterInputStream
IOException
public int read(byte[] buf, int off, int len) throws IOException
read
in class FilterInputStream
IOException
public long skip(long num) throws IOException
skip
in class FilterInputStream
IOException
public int available() throws IOException
available
in class FilterInputStream
IOException
public boolean markSupported()
markSupported
in class FilterInputStream
public static void uncompress(String fileInName, FileOutputStream out) throws IOException
IOException
Copyright © 2014 BioJava. All rights reserved.