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, getDecodeParamspublic DecodeResult decode(InputStream encoded, OutputStream decoded, COSDictionary parameters, int index) throws IOException
Filterdecode in class Filterencoded - 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 FilterIOExceptionCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.