org.mmbase.streams.transcoders
Class MockAnalyzer
java.lang.Object
org.mmbase.streams.transcoders.MockAnalyzer
- All Implemented Interfaces:
- Serializable, Cloneable, Analyzer, PublicCloneable<Analyzer>
public class MockAnalyzer
- extends Object
- implements Analyzer
- Version:
- $Id: MockAnalyzer.java 39936 2009-11-25 14:05:18Z andre $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
util
protected final AnalyzerUtils util
x
protected int x
y
protected int y
MockAnalyzer
public MockAnalyzer()
setX
public void setX(int x)
setY
public void setY(int y)
addThrowable
public void addThrowable(Throwable t)
- Specified by:
addThrowable in interface Analyzer
addLogger
public void addLogger(Logger logger)
- 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 des)
- 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.des - The node representing the mediasource to which the transcoding result is being
written.
ready
public void ready(Node sourceNode,
Node destNode)
- Specified by:
ready in interface Analyzer
clone
public MockAnalyzer clone()
- Specified by:
clone in interface PublicCloneable<Analyzer>- Overrides:
clone in class Object
MMBase 2.0-SNAPSHOT - null