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 newFilterHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
decode(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary)
Decode the byte[] using the provided filterName.
-
-
-
Method Detail
-
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 decodedfilterName
- PdfName of the filterdecodeParams
- decode parametersstreamDictionary
- the dictionary of the stream. Can contain additional information needed to decode the byte[].- Returns:
- decoded byte array
-
-