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) |
flush
protected OutputStream delegate
public CompressionOutputStream(OutputStream out, CompressionProvider provider)
public CompressionProvider getCompressionProvider()
public void addEntry(String filename, String extension) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b) throws IOException
write
in class OutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class OutputStream
IOException
Copyright © 2018 Hitachi Vantara. All rights reserved.