public class LZWFilter extends Filter
| Modifier and Type | Field and Description |
|---|---|
static long |
CLEAR_TABLE
The LZW clear table code.
|
static long |
EOD
The LZW end of data code.
|
SYSPROP_DEFLATELEVEL| Constructor and Description |
|---|
LZWFilter() |
| 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 rawData,
OutputStream encoded,
COSDictionary parameters) |
decode, decode, encode, findImageReader, getCompressionLevel, getDecodeParamspublic static final long CLEAR_TABLE
public static final long EOD
public DecodeResult decode(InputStream encoded, OutputStream decoded, COSDictionary parameters, int index) throws IOException
decode 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 rawData, OutputStream encoded, COSDictionary parameters) throws IOException
encode in class FilterIOExceptionCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.