org.mmbase.streams.createcaches
Class RecognizerResult

java.lang.Object
  extended by org.mmbase.streams.createcaches.Result
      extended by org.mmbase.streams.createcaches.RecognizerResult

 class RecognizerResult
extends Result

Result of a recognizer JobDefinition, just recognizes the type of stream etc. Does not transcode. The result out is the same as in, same for mimetype.

Version:
$Id: RecognizerResult.java 40588 2010-01-15 11:22:55Z nico $
Author:
Michiel Meeuwissen

Field Summary
(package private)  Node source
           
 
Fields inherited from class org.mmbase.streams.createcaches.Result
definition, in, ready
 
Constructor Summary
RecognizerResult(JobDefinition def, Node source, URI in)
           
 
Method Summary
 Node getDestination()
          The Node receiving the result or null if that is not applicable (for recognizers).
 MimeType getMimeType()
          On what kind of inputs this result can work.
 URI getOut()
          The file receiving the result, or null if that is not applicable
 Node getSource()
           
 void ready()
          Marks this result as ready, meaning that there is nothing left to be done and Result.isReady() will return true from now on.
 String toString()
           
 
Methods inherited from class org.mmbase.streams.createcaches.Result
getIn, getJobDefinition, getStage, isReady
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

source

final Node source
Constructor Detail

RecognizerResult

RecognizerResult(JobDefinition def,
                 Node source,
                 URI in)
Method Detail

getSource

public Node getSource()

getDestination

public Node getDestination()
Description copied from class: Result
The Node receiving the result or null if that is not applicable (for recognizers).

Specified by:
getDestination in class Result

getOut

public URI getOut()
Description copied from class: Result
The file receiving the result, or null if that is not applicable

Specified by:
getOut in class Result

getMimeType

public MimeType getMimeType()
Description copied from class: Result
On what kind of inputs this result can work.

Specified by:
getMimeType in class Result

ready

public void ready()
Description copied from class: Result
Marks this result as ready, meaning that there is nothing left to be done and Result.isReady() will return true from now on. Also, extensions may override this with extra functionality which can only be done if transcoding is ready.

Overrides:
ready in class Result

toString

public String toString()
Overrides:
toString in class Object


MMBase 2.0-SNAPSHOT - null