Package com.ning.compress
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 java.io.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:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
flush
public void flush()- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-