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 |
crc
buf, def
out
Constructor and Description |
---|
GZIPOutputStream(OutputStream out) |
GZIPOutputStream(OutputStream out,
int compressionLevel) |
finish, write
close, deflate, flush, write
write
public static final int DEFAULT_COMPRESSION_LEVEL
public GZIPOutputStream(OutputStream out) throws IOException
IOException
public GZIPOutputStream(OutputStream out, int compressionLevel) throws IOException
IOException
Copyright © 2015 Apache NiFi Project. All rights reserved.