| org.pdfbox.filter.Filter
All known Subclasses: org.pdfbox.filter.FlateFilter, org.pdfbox.filter.ASCIIHexFilter, org.pdfbox.filter.ASCII85Filter, org.pdfbox.filter.LZWFilter, org.pdfbox.filter.RunLengthDecodeFilter, org.pdfbox.filter.DCTFilter, org.pdfbox.filter.CCITTFaxDecodeFilter,
Filter | public interface Filter (Code) | | This is the interface that will be used to apply filters to a byte stream.
author: Ben Litchfield version: $Revision: 1.6 $ |
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. |
|
|