public class GZipCompressInputStream extends DeflaterInputStream
buf, def
in
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, skip
read
public GZipCompressInputStream(InputStream in)
in
- InputStream
objectpublic int read(byte[] b, int off, int len) throws IOException
read
in class DeflaterInputStream
b
- buffer to read into.off
- offsetlen
- lengthIOException
Copyright © 2020 WSO2. All rights reserved.