public class DefaultSVGConverterController extends Object implements SVGConverterController
SVGConverter operation.| Constructor and Description |
|---|
DefaultSVGConverterController() |
| Modifier and Type | Method and Description |
|---|---|
void |
onSourceTranscodingSuccess(SVGConverterSource source,
File dest)
Invoked when the rasterizer successfully transcoded
the input source.
|
boolean |
proceedOnSourceTranscodingFailure(SVGConverterSource source,
File dest,
String errorCode)
Invoked when the rasterizer got an error while
transcoding the input source.
|
boolean |
proceedWithComputedTask(Transcoder transcoder,
Map hints,
List sources,
List dest)
Invoked when the rasterizer has computed the
exact description of what it should do.
|
boolean |
proceedWithSourceTranscoding(SVGConverterSource source,
File dest)
Invoked when the rasterizer is about to start transcoding
of a given source.
|
public boolean proceedWithComputedTask(Transcoder transcoder, Map hints, List sources, 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, File dest)
proceedWithSourceTranscoding in interface SVGConverterControllerpublic boolean proceedOnSourceTranscodingFailure(SVGConverterSource source, File dest, String errorCode)
proceedOnSourceTranscodingFailure in interface SVGConverterControllererrorCode - see the SVGConverter error code descriptions.public void onSourceTranscodingSuccess(SVGConverterSource source, File dest)
onSourceTranscodingSuccess in interface SVGConverterControllerCopyright © 2000–2021 Apache Software Foundation. All rights reserved.