public class GZIPOutputStream extends GZIPOutputStream
This class extends the GZIPOutputStream by allowing the constructor to provide a compression level, and uses a default value of 1, rather than 5.
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_COMPRESSION_LEVEL |
crcbuf, defout| Constructor and Description |
|---|
GZIPOutputStream(OutputStream out) |
GZIPOutputStream(OutputStream out,
int compressionLevel) |
finish, writeclose, deflate, flush, writewritepublic static final int DEFAULT_COMPRESSION_LEVEL
public GZIPOutputStream(OutputStream out) throws IOException
IOExceptionpublic GZIPOutputStream(OutputStream out, int compressionLevel) throws IOException
IOExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.