org.mmbase.streams.transcoders
Interface Analyzer

All Superinterfaces:
Cloneable, PublicCloneable<Analyzer>, Serializable
All Known Implementing Classes:
ChainedAnalyzer, FFMpeg2TheoraAnalyzer, FFMpegAnalyzer, MockAnalyzer, SegmenterAnalyzer

public interface Analyzer
extends PublicCloneable<Analyzer>, Serializable

The goal of implementations of this interface is to be wrapped by a AnalyzerLogger (which itself probably is an entry in a ChainedLogger). It can use these log lines to store information about a Transcoder process, which appears in its' logging, in the 2 involved nodes.

Version:
$Id: Analyzer.java 39936 2009-11-25 14:05:18Z andre $
Author:
Michiel Meeuwissen

Method Summary
 void addLogger(Logger l)
           
 void addThrowable(Throwable t)
           
 void analyze(String l, Node source, Node dest)
          Analyzes a line of logging of
 int getMaxLines()
          How many lines of logging should be offered for analyze(java.lang.String, org.mmbase.bridge.Node, org.mmbase.bridge.Node)ing at the most.
 void ready(Node source, Node dest)
           
 
Methods inherited from interface org.mmbase.util.PublicCloneable
clone
 

Method Detail

addThrowable

void addThrowable(Throwable t)

getMaxLines

int getMaxLines()
How many lines of logging should be offered for analyze(java.lang.String, org.mmbase.bridge.Node, org.mmbase.bridge.Node)ing at the most.


addLogger

void addLogger(Logger l)

analyze

void analyze(String l,
             Node source,
             Node dest)
Analyzes a line of logging of

Parameters:
l - This line
source - The node representing the original mediasource.
dest - The node representing the mediasource to which the transcoding result is being written.

ready

void ready(Node source,
           Node dest)


MMBase 2.0-SNAPSHOT - null