Package org.jpedal.io.filter
Class LZW
java.lang.Object
com.idrsolutions.image.filter.Filter
org.jpedal.io.filter.LZW
LZW
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
decode
(byte[] data) LZW decodevoid
decode
(BufferedInputStream bis, BufferedOutputStream streamCache, String cacheName, Map<String, String> cachedObjects) LZW decodebyte[]
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) LZW encodevoid
encode
(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
-