public class DoNothingFilter extends Object implements IFilterHandler
Constructor and Description |
---|
DoNothingFilter() |
Modifier and Type | Method and Description |
---|---|
byte[] |
decode(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary)
Decode the byte[] using the provided filterName.
|
PdfName |
getLastFilterName()
Deprecated.
Will be removed in 7.2. Used as a crutch in
PdfImageXObject.getImageBytes() implementation. Now this method does not needed. If the user has been used it, then the same approach can be reached with nested class.
|
public byte[] decode(byte[] b, PdfName filterName, PdfObject decodeParams, PdfDictionary streamDictionary)
IFilterHandler
decode
in interface IFilterHandler
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[].
@Deprecated public PdfName getLastFilterName()
PdfImageXObject.getImageBytes()
implementation. Now this method does not needed. If the user has been used it, then the same approach can be reached with nested class.
Copyright © 1998–2021 iText Group NV. All rights reserved.