Class UncompressorOutputStream
java.lang.Object
java.io.OutputStream
com.ning.compress.UncompressorOutputStream
- All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Simple wrapper or wrapper around
Uncompressor, to help
with inter-operability.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class OutputStream
nullOutputStream
-
Field Details
-
_uncompressor
-
_singleByte
private byte[] _singleByte
-
-
Constructor Details
-
UncompressorOutputStream
-
-
Method Details
-
close
Call to this method will result in call toUncompressor.complete(), which is idempotent (i.e. can be called multiple times without ill effects).- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
flush
public void flush()- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-