Package org.apache.pdfbox.filter
Class FilterManager
- java.lang.Object
-
- org.apache.pdfbox.filter.FilterManager
-
public class FilterManager extends java.lang.ObjectThis will contain manage all the different types of filters that are available.- Version:
- $Revision: 1.13 $
- Author:
- Ben Litchfield
-
-
Constructor Summary
Constructors Constructor Description FilterManager()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFilter(COSName filterName, Filter filter)This will add an available filter.FiltergetFilter(java.lang.String filterName)This will get a filter by name.FiltergetFilter(COSName filterName)This will get a filter by name.java.util.Collection<Filter>getFilters()This will get all of the filters that are available in the system.
-
-
-
Method Detail
-
getFilters
public java.util.Collection<Filter> getFilters()
This will get all of the filters that are available in the system.- Returns:
- All available filters in the system.
-
addFilter
public void addFilter(COSName filterName, Filter filter)
This will add an available filter.- Parameters:
filterName- The name of the filter.filter- The filter to use.
-
getFilter
public Filter getFilter(COSName filterName) throws java.io.IOException
This will get a filter by name.- Parameters:
filterName- The name of the filter to retrieve.- Returns:
- The filter that matches the name.
- Throws:
java.io.IOException- If the filter could not be found.
-
getFilter
public Filter getFilter(java.lang.String filterName) throws java.io.IOException
This will get a filter by name.- Parameters:
filterName- The name of the filter to retrieve.- Returns:
- The filter that matches the name.
- Throws:
java.io.IOException- If the filter could not be found.
-
-