|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crosswire.jsword.book.filter.FilterFactory
public final class FilterFactory
A simple container for all the known filters.
The GNU Lesser General Public License for details.| Field Summary | |
|---|---|
private static Filter |
deft
The lookup table of filters |
private static Map<String,Filter> |
filters
The lookup table of filters |
private static org.slf4j.Logger |
log
The log stream |
| Constructor Summary | |
|---|---|
private |
FilterFactory()
Prevent instantiation |
| Method Summary | |
|---|---|
static void |
addFilter(String name,
Filter instance)
Add to our list of known filters |
static Filter |
getDefaultFilter()
Find a filter given a lookup string |
static Filter |
getFilter(String lookup)
Find a filter given a lookup string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static Map<String,Filter> filters
private static final org.slf4j.Logger log
private static volatile Filter deft
| Constructor Detail |
|---|
private FilterFactory()
| Method Detail |
|---|
public static Filter getFilter(String lookup)
lookup - the lookup string for the filter
public static Filter getDefaultFilter()
public static void addFilter(String name,
Filter instance)
name - instance -
|
Copyright ยจ 2003-2015 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||