public class FilterManager
extends java.lang.Object
Constructor | Description |
---|---|
FilterManager() |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
addFilter(COSName filterName,
Filter filter) |
This will add an available filter.
|
Filter |
getFilter(java.lang.String filterName) |
This will get a filter by name.
|
Filter |
getFilter(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.
|
public java.util.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 java.io.IOException
filterName
- The name of the filter to retrieve.java.io.IOException
- If the filter could not be found.public Filter getFilter(java.lang.String filterName) throws java.io.IOException
filterName
- The name of the filter to retrieve.java.io.IOException
- If the filter could not be found.