final class JBIG2Filter extends Filter
Modifier and Type | Field and Description |
---|---|
private static boolean |
levigoLogged |
private static org.apache.commons.logging.Log |
LOG |
SYSPROP_DEFLATELEVEL
Constructor and Description |
---|
JBIG2Filter() |
Modifier and Type | Method and Description |
---|---|
DecodeResult |
decode(java.io.InputStream encoded,
java.io.OutputStream decoded,
COSDictionary parameters,
int index)
Decodes data, producing the original non-encoded data.
|
DecodeResult |
decode(java.io.InputStream encoded,
java.io.OutputStream decoded,
COSDictionary parameters,
int index,
DecodeOptions options)
Decodes data, with optional DecodeOptions.
|
protected void |
encode(java.io.InputStream input,
java.io.OutputStream encoded,
COSDictionary parameters) |
private static void |
logLevigoDonated() |
encode, findImageReader, getCompressionLevel, getDecodeParams
private static final org.apache.commons.logging.Log LOG
private static boolean levigoLogged
private static void logLevigoDonated()
public DecodeResult decode(java.io.InputStream encoded, java.io.OutputStream decoded, COSDictionary parameters, int index, DecodeOptions options) throws java.io.IOException
Filter
honored
flag to test if they were applied.decode
in class Filter
encoded
- the encoded byte streamdecoded
- the stream where decoded data will be writtenparameters
- the parameters used for decodingindex
- the index to the filter being decodedoptions
- additional options for decodingjava.io.IOException
- if the stream cannot be decodedpublic DecodeResult decode(java.io.InputStream encoded, java.io.OutputStream decoded, COSDictionary parameters, int index) throws java.io.IOException
Filter
decode
in class Filter
encoded
- the encoded byte streamdecoded
- the stream where decoded data will be writtenparameters
- the parameters used for decodingindex
- the index to the filter being decodedjava.io.IOException
- if the stream cannot be decodedprotected void encode(java.io.InputStream input, java.io.OutputStream encoded, COSDictionary parameters) throws java.io.IOException