public class GZIPInputStream2 extends FilterInputStream
InflaterInputStream
to allow the
state of the stream to be duplicated, aiding code for random access to Gzip files.Constructor and Description |
---|
GZIPInputStream2(GZIPInputStream2 gs) |
GZIPInputStream2(InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read() |
int |
read(byte[] buf,
int off,
int len) |
long |
skip2(long n) |
available, mark, markSupported, read, reset, skip
public GZIPInputStream2(GZIPInputStream2 gs) throws IOException
IOException
public GZIPInputStream2(InputStream is) throws IOException
IOException
public 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 skip2(long n) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterInputStream
IOException