Package org.jpedal.io.filter
Class LZW
java.lang.Object
com.idrsolutions.image.filter.Filter
org.jpedal.io.filter.LZW
LZW
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
decode
(byte[] data) void
decode
(BufferedInputStream bis, BufferedOutputStream streamCache, String cacheName, Map<String, String> cachedObjects) byte[]
decompress
(byte[] input, boolean earlyChange) void
decompress
(byte[] output, byte[] input, boolean earlyChange) void
decompress
(BufferedOutputStream output, BufferedInputStream input, boolean earlyChange) byte[]
encode
(byte[] buffer) void
encode
(BufferedInputStream bis, BufferedOutputStream bos) Methods inherited from class com.idrsolutions.image.filter.Filter
hasError, setEncHash, setupCachedObjectForDecoding
-
Constructor Details
-
LZW
-
-
Method Details
-
decode
-
decode
public void decode(BufferedInputStream bis, BufferedOutputStream streamCache, String cacheName, Map<String, String> cachedObjects) throws Exception -
encode
-
encode
public byte[] encode(byte[] buffer) -
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
-