Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.transcoder
Interface Transcoder  view Transcoder download Transcoder.java

All Known Implementing Classes:
AbstractTranscoder

public interface Transcoder

This class defines an API for transcoding.

Version:
$Id: Transcoder.java,v 1.6 2004/08/18 07:15:41 vhardy Exp $

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

transcode

public void transcode(TranscoderInput input,
                      TranscoderOutput output)
               throws TranscoderException
Transcodes the specified input in the specified output.


getTranscodingHints

public TranscodingHints getTranscodingHints()
Returns the transcoding hints of this transcoder.


addTranscodingHint

public void addTranscodingHint(TranscodingHints.Key key,
                               java.lang.Object value)
Sets the value of a single preference for the transcoding process.


removeTranscodingHint

public void removeTranscodingHint(TranscodingHints.Key key)
Removes the value of a single preference for the transcoding process.


setTranscodingHints

public void setTranscodingHints(java.util.Map hints)
Replaces the values of all preferences for the transcoding algorithms with the specified hints.


setTranscodingHints

public void setTranscodingHints(TranscodingHints hints)
Sets the values of all preferences for the transcoding algorithms with the specified hints.


setErrorHandler

public void setErrorHandler(ErrorHandler handler)
Sets the error handler this transcoder may use to report warnings and errors.


getErrorHandler

public ErrorHandler getErrorHandler()
Returns the error handler this transcoder uses to report warnings and errors, or null if any.