Class GZIPCompressionOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.pentaho.di.core.compress.CompressionOutputStream
-
- org.pentaho.di.core.compress.gzip.GZIPCompressionOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class GZIPCompressionOutputStream extends CompressionOutputStream
-
-
Field Summary
-
Fields inherited from class org.pentaho.di.core.compress.CompressionOutputStream
delegate
-
-
Constructor Summary
Constructors Constructor Description GZIPCompressionOutputStream(OutputStream out, CompressionProvider provider)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
protected static GZIPOutputStream
getDelegate(OutputStream out)
-
Methods inherited from class org.pentaho.di.core.compress.CompressionOutputStream
addEntry, getCompressionProvider, write, write, write
-
Methods inherited from class java.io.OutputStream
flush, nullOutputStream
-
-
-
-
Constructor Detail
-
GZIPCompressionOutputStream
public GZIPCompressionOutputStream(OutputStream out, CompressionProvider provider) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getDelegate
protected static GZIPOutputStream getDelegate(OutputStream out) throws IOException
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classCompressionOutputStream
- Throws:
IOException
-
-