public final class FilterFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static FilterFactory |
INSTANCE
Singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
Filter |
getFilter(COSName filterName)
Returns a filter instance given its COSName.
|
Filter |
getFilter(String filterName)
Returns a filter instance given its name as a string.
|
public static final FilterFactory INSTANCE
public Filter getFilter(String filterName) throws IOException
filterName - the name of the filter to retrieveIOException - if the filter name was invalidpublic Filter getFilter(COSName filterName) throws IOException
filterName - the name of the filter to retrieveIOException - if the filter name was invalidCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.