public final class JPXFilter extends Filter
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.
|
protected void |
encode(InputStream input,
OutputStream encoded,
COSDictionary parameters) |
encode, findImageReader, getDecodeParams
public 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–2016 The Apache Software Foundation. All rights reserved.