public class GZipCompressInputStream extends DeflaterInputStream
buf, defin| Constructor and Description |
|---|
GZipCompressInputStream(InputStream in)
Constructor which wraps given input stream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
read(byte[] b,
int off,
int len)
Overridden read method which will inject proper gzip header and gzip tail.
|
available, close, mark, markSupported, read, reset, skipreadpublic GZipCompressInputStream(InputStream in)
in - InputStream objectpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class DeflaterInputStreamb - buffer to read into.off - offsetlen - lengthIOExceptionCopyright © 2018 WSO2. All rights reserved.