Class MyLzwCompressor
- java.lang.Object
-
- org.apache.commons.imaging.common.mylzw.MyLzwCompressor
-
public class MyLzwCompressor extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MyLzwCompressor.Listener
-
Constructor Summary
Constructors Constructor Description MyLzwCompressor(int initialCodeSize, ByteOrder byteOrder, boolean earlyLimit)
MyLzwCompressor(int initialCodeSize, ByteOrder byteOrder, boolean earlyLimit, MyLzwCompressor.Listener listener)
-
-
-
Constructor Detail
-
MyLzwCompressor
public MyLzwCompressor(int initialCodeSize, ByteOrder byteOrder, boolean earlyLimit)
-
MyLzwCompressor
public MyLzwCompressor(int initialCodeSize, ByteOrder byteOrder, boolean earlyLimit, MyLzwCompressor.Listener listener)
-
-
Method Detail
-
compress
public byte[] compress(byte[] bytes) throws IOException
- Throws:
IOException
-
-