Class DoNothingFilter
java.lang.Object
com.itextpdf.kernel.pdf.filters.DoNothingFilter
- All Implemented Interfaces:
IFilterHandler
A filter that doesn't modify the stream at all
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]decode(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary) Decode the byte[] using the provided filterName.
-
Constructor Details
-
DoNothingFilter
public DoNothingFilter()
-
-
Method Details
-
decode
public byte[] decode(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary) Description copied from interface:IFilterHandlerDecode the byte[] using the provided filterName.- Specified by:
decodein interfaceIFilterHandler- 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
-