public final class JPXFilter extends Filter
SYSPROP_DEFLATELEVEL
Constructor and Description |
---|
JPXFilter() |
Modifier and Type | Method and Description |
---|---|
DecodeResult |
decode(InputStream encoded,
OutputStream decoded,
COSDictionary parameters,
int index)
Decodes data, producing the original non-encoded data.
|
DecodeResult |
decode(InputStream encoded,
OutputStream decoded,
COSDictionary parameters,
int index,
DecodeOptions options)
Decodes data, with optional DecodeOptions.
|
protected void |
encode(InputStream input,
OutputStream encoded,
COSDictionary parameters) |
encode, findImageReader, getCompressionLevel, getDecodeParams
public DecodeResult decode(InputStream encoded, OutputStream decoded, COSDictionary parameters, int index, DecodeOptions options) throws IOException
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 decodingIOException
- if the stream cannot be decodedpublic DecodeResult decode(InputStream encoded, OutputStream decoded, COSDictionary parameters, int index) throws 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 decodedIOException
- if the stream cannot be decodedprotected void encode(InputStream input, OutputStream encoded, COSDictionary parameters) throws IOException
encode
in class Filter
IOException
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.