Package com.webcodepro.shrinkit.io
Class LzwOutputStream
java.lang.Object
java.io.OutputStream
com.webcodepro.shrinkit.io.LzwOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
This is the generic Shrinkit LZW compression algorithm.
It does not deal with the vagaries of the LZW/1 and LZW/2 data streams.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write, write
-
Constructor Details
-
LzwOutputStream
-
-
Method Details
-
write
- 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
-