public class FilterManager extends Object
Constructor and Description |
---|
FilterManager()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addFilter(COSName filterName,
Filter filter)
This will add an available filter.
|
Filter |
getFilter(COSName filterName)
This will get a filter by name.
|
Filter |
getFilter(String filterName)
This will get a filter by name.
|
Collection<Filter> |
getFilters()
This will get all of the filters that are available in the system.
|
public Collection<Filter> getFilters()
public void addFilter(COSName filterName, Filter filter)
filterName
- The name of the filter.filter
- The filter to use.public Filter getFilter(COSName filterName) throws IOException
filterName
- The name of the filter to retrieve.IOException
- If the filter could not be found.public Filter getFilter(String filterName) throws IOException
filterName
- The name of the filter to retrieve.IOException
- If the filter could not be found.Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.