Class FilterManager

java.lang.Object
org.apache.pdfbox.filter.FilterManager

public class FilterManager extends Object
This will contain manage all the different types of filters that are available.
Version:
$Revision: 1.13 $
Author:
Ben Litchfield
  • Constructor Details

    • FilterManager

      public FilterManager()
      Constructor.
  • Method Details

    • getFilters

      public 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 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:
      IOException - If the filter could not be found.
    • getFilter

      public Filter getFilter(String filterName) throws 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:
      IOException - If the filter could not be found.