public class GZipStream extends CompressedStream
GZipcompressedStream, DEFLATE, INFLATE, modeskipBuffer| Constructor and Description |
|---|
GZipStream(Stream stream,
int mode)
Creates a GZipStream object that may be used to read compressed data from the given stream, or to write compressed
data to the given stream.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
createDeflate(Stream stream) |
protected java.lang.Object |
createInflate(Stream stream) |
close, finalize, readBytes, writeBytesasInputStream, asOutputStream, asStream, asStream, skipBytes, wrapInputStream, wrapInputStreamToStream, write, writeBytes, writeBytes, writeBytespublic GZipStream(Stream stream, int mode) throws IOException
stream - input stream.mode - its value must be either DEFLATE or INFLATE.IOExceptionprotected java.lang.Object createDeflate(Stream stream)
createDeflate in class CompressedStreamprotected java.lang.Object createInflate(Stream stream)
createInflate in class CompressedStream