public abstract class CompressionOutputStream extends OutputStream
| Modifier and Type | Field and Description |
|---|---|
protected OutputStream |
delegate |
| Constructor and Description |
|---|
CompressionOutputStream(OutputStream out,
CompressionProvider provider) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(String filename,
String extension) |
void |
close() |
CompressionProvider |
getCompressionProvider() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flushprotected OutputStream delegate
public CompressionOutputStream(OutputStream out, CompressionProvider provider)
public CompressionProvider getCompressionProvider()
public void addEntry(String filename, String extension) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2018 Hitachi Vantara. All rights reserved.