SVGConverterControllerpublic class DefaultSVGConverterController extends java.lang.Object implements SVGConverterController
| Constructor | Description |
|---|---|
DefaultSVGConverterController() |
| Modifier and Type | Method | Description |
|---|---|---|
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(org.apache.batik.transcoder.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.
|
public boolean proceedWithComputedTask(org.apache.batik.transcoder.Transcoder transcoder,
java.util.Map hints,
java.util.List sources,
java.util.List dest)
proceedWithComputedTask in interface SVGConverterControllertranscoder - 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 SVGConverterControllerpublic boolean proceedOnSourceTranscodingFailure(SVGConverterSource source, java.io.File dest, java.lang.String errorCode)
proceedOnSourceTranscodingFailure in interface SVGConverterControllererrorCode - see the SVGConverter error code descriptions.public void onSourceTranscodingSuccess(SVGConverterSource source, java.io.File dest)
onSourceTranscodingSuccess in interface SVGConverterController