FilterFactory
Overview
FilterFactory is a class in Aspose.PDF FOSS for Java.
Registry of PDF stream filters (§7.4, ISO 32000-1:2008).
This class provides 4 methods for working with FilterFactory objects in Java programs.
Available methods include: decodeChain, encodeChain, getFilter, register.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Methods
| Signature | Description |
|---|---|
register(filter: PdfFilter) | Registers a filter. |
getFilter(name: PdfName) → PdfFilter | Returns the filter for the given name. |
decodeChain(data: byte[], filters: List<PdfName>, params: List<PdfDictionary>) → byte[] | Decodes data through a chain of filters, applying them left-to-right |
| (§7.4.1: the first filter in the array is applied first during decoding). | |
encodeChain(data: byte[], filters: List<PdfName>, params: List<PdfDictionary>) → byte[] | Encodes data through a chain of filters, applying them right-to-left |
| (reverse of decode order). |