|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.geo.test.ExampleSVG2PDF
public class ExampleSVG2PDF
This class demonstrates the conversion of an SVG file to PDF using FOP.
Constructor Summary | |
---|---|
ExampleSVG2PDF()
|
Method Summary | |
---|---|
void |
convertSVG2PDF(java.io.File svg,
java.io.File pdf)
Converts an FO file to a PDF file using FOP |
static void |
main(java.lang.String[] args)
Main method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExampleSVG2PDF()
Method Detail |
---|
public void convertSVG2PDF(java.io.File svg, java.io.File pdf) throws java.io.IOException, org.apache.batik.transcoder.TranscoderException
svg
- the SVG filepdf
- the target PDF file
java.io.IOException
- In case of an I/O problem
org.apache.batik.transcoder.TranscoderException
- In case of a transcoding problempublic static void main(java.lang.String[] args)
args
- command-line arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |