Package org.apache.nifi.stream.io
Class GZIPOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.util.zip.DeflaterOutputStream
java.util.zip.GZIPOutputStream
org.apache.nifi.stream.io.GZIPOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
This class extends the GZIPOutputStream
by allowing the constructor to provide a compression level, and uses a default value of 1, rather than 5.
-
Field Summary
Fields inherited from class java.util.zip.GZIPOutputStream
crc
Fields inherited from class java.util.zip.DeflaterOutputStream
buf, def
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.zip.GZIPOutputStream
finish, write
Methods inherited from class java.util.zip.DeflaterOutputStream
close, deflate, flush, write
Methods inherited from class java.io.FilterOutputStream
write
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
DEFAULT_COMPRESSION_LEVEL
public static final int DEFAULT_COMPRESSION_LEVEL- See Also:
-
-
Constructor Details
-
GZIPOutputStream
- Throws:
IOException
-
GZIPOutputStream
- Throws:
IOException
-