public class UncompressorOutputStream
extends java.io.OutputStream
Uncompressor
, to help
with inter-operability.Modifier and Type | Field and Description |
---|---|
private byte[] |
_singleByte |
protected Uncompressor |
_uncompressor |
Constructor and Description |
---|
UncompressorOutputStream(Uncompressor uncomp) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Call to this method will result in call to
Uncompressor.complete() , which is idempotent
(i.e. |
void |
flush() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
protected final Uncompressor _uncompressor
private byte[] _singleByte
public UncompressorOutputStream(Uncompressor uncomp)
public void close() throws java.io.IOException
Uncompressor.complete()
, which is idempotent
(i.e. can be called multiple times without ill effects).close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
public void flush()
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
public void write(byte[] b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException