Package com.semedy.reasoner.utils
Class LZ4OutputStream
java.lang.Object
java.io.OutputStream
com.semedy.reasoner.utils.LZ4OutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
Output stream for LZ4 compression
- Author:
- angele
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write, write
-
Constructor Details
-
LZ4OutputStream
-
-
Method Details
-
write
Write to stream. Infos are buffered.
If buffer is full it is compressed and flushed out.- Specified by:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-