Package org.jpedal.io.filter
Class LZW
java.lang.Object
com.idrsolutions.image.filter.Filter
com.idrsolutions.image.filter.PredictorFilter
org.jpedal.io.filter.LZW
Class for the decoding of LZW encoded data from PDFs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]decode(byte[] data) LZW decodevoiddecode(BufferedInputStream bis, BufferedOutputStream streamCache, String cacheName, Map<String, String> cachedObjects) LZW decodebyte[]decompress(byte[] input, boolean earlyChange) voiddecompress(byte[] output, byte[] input, boolean earlyChange) voiddecompress(BufferedOutputStream output, BufferedInputStream input, boolean earlyChange) byte[]encode(byte[] buffer) LZW encodevoidencode(BufferedInputStream bis, BufferedOutputStream bos) LZW encodeMethods inherited from class com.idrsolutions.image.filter.Filter
hasError, setEncHash, setupCachedObjectForDecoding
-
Constructor Details
-
LZW
-
-
Method Details
-
decode
LZW decode -
decode
public void decode(BufferedInputStream bis, BufferedOutputStream streamCache, String cacheName, Map<String, String> cachedObjects) throws ExceptionLZW decode -
encode
LZW encode -
encode
public byte[] encode(byte[] buffer) LZW encode -
decompress
- Throws:
IOException
-
decompress
public void decompress(byte[] output, byte[] input, boolean earlyChange) -
decompress
public void decompress(BufferedOutputStream output, BufferedInputStream input, boolean earlyChange) throws IOException - Throws:
IOException
-