public class ZIPCompressionOutputStream extends CompressionOutputStream
delegate
Constructor and Description |
---|
ZIPCompressionOutputStream(OutputStream out,
CompressionProvider provider) |
Modifier and Type | Method and Description |
---|---|
void |
addEntry(String filename,
String extension) |
void |
close() |
protected static ZipOutputStream |
getDelegate(OutputStream out) |
getCompressionProvider, write, write, write
flush
public ZIPCompressionOutputStream(OutputStream out, CompressionProvider provider)
protected static ZipOutputStream getDelegate(OutputStream out)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class CompressionOutputStream
IOException
public void addEntry(String filename, String extension) throws IOException
addEntry
in class CompressionOutputStream
IOException
Copyright © 2018 Hitachi Vantara. All rights reserved.