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