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, skippublic GZIPInputStream2(GZIPInputStream2 gs) throws IOException
IOExceptionpublic GZIPInputStream2(InputStream is) throws IOException
IOExceptionpublic int read()
throws IOException
read in class FilterInputStreamIOExceptionpublic int read(byte[] buf,
int off,
int len)
throws IOException
read in class FilterInputStreamIOExceptionpublic long skip2(long n)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterInputStreamIOException