Package org.jpedal.io.filter
Class Flate
java.lang.Object
com.idrsolutions.image.filter.Filter
org.jpedal.io.filter.Flate
flate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
decode
(byte[] data) flate decode - use a byte array stream to decompress data in memoryvoid
decode
(BufferedInputStream bis, BufferedOutputStream streamCache, String cacheName, Map<String, String> cachedObjects) byte[]
encode
(byte[] data) byte[]
encode
(byte[] data, int compressionLevel) void
encode
(BufferedInputStream bis, BufferedOutputStream bos) boolean
hasError()
inherited by several methodsMethods inherited from class com.idrsolutions.image.filter.Filter
setEncHash, setupCachedObjectForDecoding
-
Constructor Details
-
Flate
-
-
Method Details
-
decode
flate decode - use a byte array stream to decompress data in memory -
decode
public void decode(BufferedInputStream bis, BufferedOutputStream streamCache, String cacheName, Map<String, String> cachedObjects) throws Exception -
encode
public byte[] encode(byte[] data) -
encode
public byte[] encode(byte[] data, int compressionLevel) -
encode
-
hasError
public boolean hasError()Description copied from class:Filter
inherited by several methods
-