Package org.apache.pdfbox.filter
Class FilterFactory
java.lang.Object
org.apache.pdfbox.filter.FilterFactory
Factory for Filter classes.
- Author:
- Ben Litchfield
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
Singleton instance.
-
-
Method Details
-
getFilter
Returns a filter instance given its name as a string.- Parameters:
filterName
- the name of the filter to retrieve- Returns:
- the filter that matches the name
- Throws:
IOException
- if the filter name was invalid
-
getFilter
Returns a filter instance given its COSName.- Parameters:
filterName
- the name of the filter to retrieve- Returns:
- the filter that matches the name
- Throws:
IOException
- if the filter name was invalid
-