|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.bsd.x2svg.outputConverter.SvgConverter
public class SvgConverter
Convert SVG files into various output file types. The supported
types are encoded in OutputType
SVGTranscoderFactory
,
OutputType
Constructor Summary | |
---|---|
SvgConverter()
|
Method Summary | |
---|---|
void |
convert(OutputType type,
java.io.File input,
java.io.File output)
Convert the passed SVG input file into the passed output file |
void |
convert(java.lang.String type,
java.io.File input,
java.io.File output)
Convert the passed SVG input file into the passed output file |
static void |
main(java.lang.String[] args)
Convert the SVG file passed in as the second argument into an output file given in the third argument and of the type passed in the first argument. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SvgConverter()
Method Detail |
---|
public void convert(OutputType type, java.io.File input, java.io.File output) throws ConversionException
type
- A valid OutputTypeinput
- A valid input file containing SVG dataoutput
- An output file to write the result to
ConversionException
- if anything in the conversion process goes wrongOutputType
public void convert(java.lang.String type, java.io.File input, java.io.File output) throws ConversionException
type
- a string representing a valid OutputTypeinput
- A valid input file containing SVG dataoutput
- An output file to write the result to
ConversionException
- if anything in the conversion process goes wrongOutputType
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- Input parameters: type(s) input.svg output[.type] [output dir]
java.lang.Exception
- if anything goes wrong
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |