public class LZWFilter extends Filter
| Modifier and Type | Field | Description |
|---|---|---|
static long |
CLEAR_TABLE |
The LZW clear table code.
|
static long |
EOD |
The LZW end of data code.
|
SYSPROP_DEFLATELEVEL| Constructor | Description |
|---|---|
LZWFilter() |
| Modifier and Type | Method | Description |
|---|---|---|
DecodeResult |
decode(java.io.InputStream encoded,
java.io.OutputStream decoded,
COSDictionary parameters,
int index) |
Decodes data, producing the original non-encoded data.
|
protected void |
encode(java.io.InputStream rawData,
java.io.OutputStream encoded,
COSDictionary parameters) |
decode, encode, findImageReader, getDecodeParamspublic static final long CLEAR_TABLE
public static final long EOD
public DecodeResult decode(java.io.InputStream encoded, java.io.OutputStream decoded, COSDictionary parameters, int index) throws java.io.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 decodedjava.io.IOException - if the stream cannot be decodedprotected void encode(java.io.InputStream rawData,
java.io.OutputStream encoded,
COSDictionary parameters)
throws java.io.IOException
Copyright © 2002–2018. All rights reserved.