| Modifier and Type | Field and Description |
|---|---|
| private static final Log | |
| public static final String | SYSPROP_DEFLATELEVEL
Compression Level System Property. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract DecodeResult | Returns: repaired parameters dictionary, or the original parameters dictionarythe encoded byte stream encoded, OutputStream the stream where decoded data will be written decoded, COSDictionary the parameters used for decoding parameters, int the index to the filter being decoded index)Decodes data, producing the original non-encoded data. |
| public DecodeResult | Returns: repaired parameters dictionary, or the original parameters dictionarythe encoded byte stream encoded, OutputStream the stream where decoded data will be written decoded, COSDictionary the parameters used for decoding parameters, int the index to the filter being decoded index, DecodeOptions additional options for decoding options)Decodes data, with optional DecodeOptions. |
| public static RandomAccessRead | Returns: the decoded stream datathe input stream holding the encoded data encoded, List<Filter> list of filters to be used for decoding filterList, COSDictionary the parameters used for decoding parameters, DecodeOptions additional options for decoding options, List<DecodeResult> list of optional decoding results for each filter results)Decodes data, with optional DecodeOptions. |
| public final void | encode(InputStream
the byte stream to encode input, OutputStream the stream where encoded data will be written encoded, COSDictionary the parameters used for encoding parameters, int the index to the filter being encoded index)Encodes data. |
| protected abstract void | |
| public static final ImageReader | Returns: The image reader for the format.The image format to search for. formatName, String The probably cause if something goes wrong. errorCause)Finds a suitable image reader for an image format. |
| public static final ImageReader | Returns: The image reader for the format.The image format to search for. formatName, String The probably cause if something goes wrong. errorCause)Finds a suitable image raster reader for an image format. |
| public static int | |
| protected COSDictionary |
| LOG | back to summary |
|---|---|
| private static final Log LOG | |
| SYSPROP_DEFLATELEVEL | back to summary |
|---|---|
| public static final String SYSPROP_DEFLATELEVEL Compression Level System Property. Set this to a value from 0 to 9 to change the zlib deflate
compression level used to compress /Flate streams. The default value is -1 which is
| |
| Filter | back to summary |
|---|---|
| protected Filter() Constructor. | |
| decode | back to summary |
|---|---|
| public abstract DecodeResult decode(InputStream encoded, OutputStream decoded, COSDictionary parameters, int index) throws IOException Decodes data, producing the original non-encoded data.
| |
| decode | back to summary |
|---|---|
| public DecodeResult decode(InputStream encoded, OutputStream decoded, COSDictionary parameters, int index, DecodeOptions options) throws IOException Decodes data, with optional DecodeOptions. Not all filters support all options, and so
callers should check the options'
| |
| decode | back to summary |
|---|---|
| public static RandomAccessRead decode(InputStream encoded, List<Filter> filterList, COSDictionary parameters, DecodeOptions options, List<DecodeResult> results) throws IOException Decodes data, with optional DecodeOptions. Not all filters support all options, and so callers should check the
options'
| |
| encode | back to summary |
|---|---|
| public final void encode(InputStream input, OutputStream encoded, COSDictionary parameters, int index) throws IOException Encodes data.
| |
| encode | back to summary |
|---|---|
| protected abstract void encode(InputStream input, OutputStream encoded, COSDictionary parameters) throws IOException | |
| findImageReader | back to summary |
|---|---|
| public static final ImageReader findImageReader(String formatName, String errorCause) throws MissingImageReaderException Finds a suitable image reader for an image format.
| |
| findRasterReader | back to summary |
|---|---|
| public static final ImageReader findRasterReader(String formatName, String errorCause) throws MissingImageReaderException Finds a suitable image raster reader for an image format.
| |
| getCompressionLevel | back to summary |
|---|---|
public static int getCompressionLevel()
| |
| getDecodeParams | back to summary |
|---|---|
| protected COSDictionary getDecodeParams(COSDictionary dictionary, int index) | |