|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.apps.rasterizer.DefaultSVGConverterController
public class DefaultSVGConverterController
Default controller for the SVGConverter operation.
Constructor Summary | |
---|---|
DefaultSVGConverterController()
|
Method Summary | |
---|---|
void |
onSourceTranscodingSuccess(SVGConverterSource source,
java.io.File dest)
Invoked when the rasterizer successfully transcoded the input source. |
boolean |
proceedOnSourceTranscodingFailure(SVGConverterSource source,
java.io.File dest,
java.lang.String errorCode)
Invoked when the rasterizer got an error while transcoding the input source. |
boolean |
proceedWithComputedTask(Transcoder transcoder,
java.util.Map hints,
java.util.List sources,
java.util.List dest)
Invoked when the rasterizer has computed the exact description of what it should do. |
boolean |
proceedWithSourceTranscoding(SVGConverterSource source,
java.io.File dest)
Invoked when the rasterizer is about to start transcoding of a given source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSVGConverterController()
Method Detail |
---|
public boolean proceedWithComputedTask(Transcoder transcoder, java.util.Map hints, java.util.List sources, java.util.List dest)
proceedWithComputedTask
in interface SVGConverterController
transcoder
- Transcoder which will be used for the conversionhints
- set of hints that were set on the transcodersources
- list of SVG sources it will convert.dest
- list of destination file it will usepublic boolean proceedWithSourceTranscoding(SVGConverterSource source, java.io.File dest)
proceedWithSourceTranscoding
in interface SVGConverterController
public boolean proceedOnSourceTranscodingFailure(SVGConverterSource source, java.io.File dest, java.lang.String errorCode)
proceedOnSourceTranscodingFailure
in interface SVGConverterController
errorCode
- see the SVGConverter
error code descriptions.public void onSourceTranscodingSuccess(SVGConverterSource source, java.io.File dest)
onSourceTranscodingSuccess
in interface SVGConverterController
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |