org.mmbase.streams.createcaches
Class TranscoderResult

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

 class TranscoderResult
extends Result

Container for the result of a JobDefinition This is the result of an actual transcoding. This means that it does have a 'destination' node getDestination() and URI getOut().

Version:
$Id: TranscoderResult.java 42741 2010-06-29 13:59:16Z andre $
Author:
Michiel Meeuwissen

Field Summary
(package private)  Node dest
           
(package private)  File directory
           
(package private)  URI out
           
 
Fields inherited from class org.mmbase.streams.createcaches.Result
definition, in, ready
 
Constructor Summary
TranscoderResult(File directory, JobDefinition def, Node dest, URI in, URI out)
           
 
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
 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

dest

final Node dest

out

final URI out

directory

final File directory
Constructor Detail

TranscoderResult

TranscoderResult(File directory,
                 JobDefinition def,
                 Node dest,
                 URI in,
                 URI out)
Method Detail

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

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

getMimeType

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

Specified by:
getMimeType in class Result


MMBase 2.0-SNAPSHOT - null