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