Class LZWCompressor
java.lang.Object
org.exoplatform.imageio.plugins.common.LZWCompressor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompress(byte[] buf, int offset, int length) voiddump(PrintStream out) voidflush()
-
Constructor Details
-
LZWCompressor
- Parameters:
out- destination for compressed datacodeSize- the initial code size for the LZW compressorTIFF- flag indicating that TIFF lzw fudge needs to be applied- Throws:
IOException- if underlying output stream error
-
-
Method Details
-
compress
- Parameters:
buf- data to be compressed to output stream- Throws:
IOException- if underlying output stream error
-
flush
- Throws:
IOException
-
dump
-