| java.lang.Object org.pdfbox.filter.LZWFilter
LZWFilter | public class LZWFilter implements Filter(Code) | | This is the used for the LZWDecode filter.
author: Ben Litchfield version: $Revision: 1.14 $ |
Field Summary | |
final public static long | CLEAR_TABLE The LZW clear table code. | final public static long | EOD The LZW end of data code. |
CLEAR_TABLE | final public static long CLEAR_TABLE(Code) | | The LZW clear table code.
|
EOD | final public static long EOD(Code) | | The LZW end of data code.
|
decode | public void decode(InputStream compressedData, OutputStream result, COSDictionary options) throws IOException(Code) | | This will decode some compressed data.
Parameters: compressedData - The compressed byte stream. Parameters: result - The place to write the uncompressed byte stream. Parameters: options - The options to use to encode the data. throws: IOException - If there is an error decompressing the stream. |
encode | public void encode(InputStream rawData, OutputStream result, COSDictionary options) throws IOException(Code) | | This will encode some data.
Parameters: rawData - The raw data to encode. Parameters: result - The place to write to encoded results to. Parameters: options - The options to use to encode the data. throws: IOException - If there is an error compressing the stream. |
|
|