org.mmbase.streams.transcoders
Class ChainedAnalyzer
java.lang.Object
org.mmbase.streams.transcoders.ChainedAnalyzer
- All Implemented Interfaces:
- Serializable, Cloneable, Analyzer, PublicCloneable<Analyzer>
public class ChainedAnalyzer
- extends Object
- implements Analyzer
Makes it possible to chain analyzers one after another.
- Version:
- $Id: ChainedAnalyzer.java 39936 2009-11-25 14:05:18Z andre $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
ChainedAnalyzer
public ChainedAnalyzer()
addThrowable
public void addThrowable(Throwable t)
- Specified by:
addThrowable in interface Analyzer
add
public void add(Analyzer a)
addLogger
public void addLogger(Logger l)
- Specified by:
addLogger in interface Analyzer
getMaxLines
public int getMaxLines()
- Description copied from interface:
Analyzer
- How many lines of logging should be offered for
Analyzer.analyze(java.lang.String, org.mmbase.bridge.Node, org.mmbase.bridge.Node)ing at the most.
- Specified by:
getMaxLines in interface Analyzer
analyze
public void analyze(String l,
Node source,
Node dest)
- Description copied from interface:
Analyzer
- Analyzes a line of logging of
- Specified by:
analyze in interface Analyzer
- Parameters:
l - This linesource - The node representing the original mediasource.dest - The node representing the mediasource to which the transcoding result is being
written.
ready
public void ready(Node source,
Node dest)
- Specified by:
ready in interface Analyzer
clone
public ChainedAnalyzer clone()
- Specified by:
clone in interface PublicCloneable<Analyzer>- Overrides:
clone in class Object
MMBase 2.0-SNAPSHOT - null