org.mmbase.applications.media.filters
Class MainFilter
java.lang.Object
org.mmbase.applications.media.filters.MainFilter
- public class MainFilter
- extends java.lang.Object
This is the main class for the filter process. It maintains list of
Filters (which content can be configured by the 'filters.xml'
configuration file. It does not do any filtering itself, it is only
the access to the actual filters, so filtering is completably
configurable.
Since there can be only one 'main' filter this class is a
Singleton, and its one instance can be gotten by the getInstance
function (and this is done by the Media builders when they need url
representations to the stream they describe).
- Author:
- Rob Vermeulen (VPRO), Michiel Meeuwissen
|
Method Summary |
java.util.List |
filter(java.util.List urls)
Perform the actual filter task |
static MainFilter |
getInstance()
|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAIN_TAG
public static final java.lang.String MAIN_TAG
- See Also:
- Constant Field Values
FILTERCONFIGS_TAG
public static final java.lang.String FILTERCONFIGS_TAG
- See Also:
- Constant Field Values
FILTERCONFIG_TAG
public static final java.lang.String FILTERCONFIG_TAG
- See Also:
- Constant Field Values
CHAIN_TAG
public static final java.lang.String CHAIN_TAG
- See Also:
- Constant Field Values
FILTER_TAG
public static final java.lang.String FILTER_TAG
- See Also:
- Constant Field Values
FILTER_ATT
public static final java.lang.String FILTER_ATT
- See Also:
- Constant Field Values
ID_ATT
public static final java.lang.String ID_ATT
- See Also:
- Constant Field Values
CONFIG_FILE
public static final java.lang.String CONFIG_FILE
getInstance
public static MainFilter getInstance()
filter
public java.util.List filter(java.util.List urls)
- Perform the actual filter task
main
public static void main(java.lang.String[] args)
MMBase build 1.7.4.20050922