Package com.itextpdf.kernel.pdf.filters
Interface IFilterHandler
- All Known Implementing Classes:
-
ASCII85DecodeFilter
,ASCIIHexDecodeFilter
,CCITTFaxDecodeFilter
,DctDecodeFilter
,DoNothingFilter
,FlateDecodeFilter
,FlateDecodeStrictFilter
,JpxDecodeFilter
,LZWDecodeFilter
,MemoryLimitsAwareFilter
,RunLengthDecodeFilter
public interface IFilterHandler
The main interface for creating a new
FilterHandler
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
decode
(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary) Decode the byte[] using the provided filterName.
-
Method Details
-
decode
byte[] decode(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary) Decode the byte[] using the provided filterName.- Parameters:
-
b
- the bytes that need to be decoded -
filterName
- PdfName of the filter -
decodeParams
- decode parameters -
streamDictionary
- the dictionary of the stream. Can contain additional information needed to decode the byte[]. - Returns:
- decoded byte array
-