org.mmbase.streams.createcaches
Class TranscoderResult
java.lang.Object
org.mmbase.streams.createcaches.Result
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
|
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()
|
dest
final Node dest
out
final URI out
directory
final File directory
TranscoderResult
TranscoderResult(File directory,
JobDefinition def,
Node dest,
URI in,
URI out)
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