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.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.OutputStreamjava.io.IOExceptionpublic void flush()
flush in interface java.io.Flushableflush in class java.io.OutputStreampublic void write(byte[] b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException