|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class defines an API for transcoding.
Method Summary | |
void |
addTranscodingHint(TranscodingHints.Key key,
java.lang.Object value)
Sets the value of a single preference for the transcoding process. |
ErrorHandler |
getErrorHandler()
Returns the error handler this transcoder uses to report warnings and errors, or null if any. |
TranscodingHints |
getTranscodingHints()
Returns the transcoding hints of this transcoder. |
void |
removeTranscodingHint(TranscodingHints.Key key)
Removes the value of a single preference for the transcoding process. |
void |
setErrorHandler(ErrorHandler handler)
Sets the error handler this transcoder may use to report warnings and errors. |
void |
setTranscodingHints(java.util.Map hints)
Replaces the values of all preferences for the transcoding algorithms with the specified hints. |
void |
setTranscodingHints(TranscodingHints hints)
Sets the values of all preferences for the transcoding algorithms with the specified hints. |
void |
transcode(TranscoderInput input,
TranscoderOutput output)
Transcodes the specified input in the specified output. |
Method Detail |
public void transcode(TranscoderInput input, TranscoderOutput output) throws TranscoderException
input
- the input to transcodeoutput
- the ouput where to transcodeTranscoderException
- if an error occured while transcodingpublic TranscodingHints getTranscodingHints()
public void addTranscodingHint(TranscodingHints.Key key, java.lang.Object value)
key
- the key of the hint to be setvalue
- the value indicating preferences for the specified
hint category.public void removeTranscodingHint(TranscodingHints.Key key)
key
- the key of the hint to removepublic void setTranscodingHints(java.util.Map hints)
hints
- the rendering hints to be setpublic void setTranscodingHints(TranscodingHints hints)
hints
- the rendering hints to be setpublic void setErrorHandler(ErrorHandler handler)
handler
- to ErrorHandler to usepublic ErrorHandler getErrorHandler()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |