Class MyLzwDecompressor
- java.lang.Object
-
- org.apache.commons.imaging.common.mylzw.MyLzwDecompressor
-
public final class MyLzwDecompressor extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MyLzwDecompressor.Listener
-
Constructor Summary
Constructors Constructor Description MyLzwDecompressor(int initialCodeSize, ByteOrder byteOrder)
MyLzwDecompressor(int initialCodeSize, ByteOrder byteOrder, MyLzwDecompressor.Listener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
decompress(InputStream is, int expectedLength)
void
setTiffLZWMode()
-
-
-
Constructor Detail
-
MyLzwDecompressor
public MyLzwDecompressor(int initialCodeSize, ByteOrder byteOrder)
-
MyLzwDecompressor
public MyLzwDecompressor(int initialCodeSize, ByteOrder byteOrder, MyLzwDecompressor.Listener listener)
-
-
Method Detail
-
setTiffLZWMode
public void setTiffLZWMode()
-
decompress
public byte[] decompress(InputStream is, int expectedLength) throws IOException
- Throws:
IOException
-
-