Package org.apache.pdfbox.filter
Class FilterFactory
java.lang.Object
org.apache.pdfbox.filter.FilterFactory
Factory for Filter classes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Collection<Filter>
Returns a filter instance given its name as a string.Returns a filter instance given its COSName.
-
Field Details
-
INSTANCE
Singleton instance. -
filters
-
-
Constructor Details
-
FilterFactory
private FilterFactory()
-
-
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
-
getAllFilters
Collection<Filter> getAllFilters()
-