Class InflaterWriter
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.activemq.artemis.utils.InflaterWriter
-
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class InflaterWriter extends OutputStream
InflaterWriterThis class takes an OutputStream. Compressed bytes can directly be written into this class. The class will decompress the bytes and write them to the output stream.
Not for concurrent use.
-
-
Constructor Summary
Constructors Constructor Description InflaterWriter(OutputStream output)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidwrite(int b)-
Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write, write
-
-
-
-
Constructor Detail
-
InflaterWriter
public InflaterWriter(OutputStream output)
-
-
Method Detail
-
write
public void write(int b) throws IOException- Specified by:
writein classOutputStream- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
-