org.foray.demo.embed
Class DemoFO2PDF
java.lang.Object
org.foray.demo.embed.EmbedDemo
org.foray.demo.embed.DemoFO2PDF
public class DemoFO2PDF
- extends EmbedDemo
This class demonstrates the conversion of an FO file to PDF using FOray.
Method Summary |
void |
convertFO2PDF(URL fo,
File pdf)
Demonstration of a conversion from FO to PDF. |
static void |
main(String[] args)
Command-line interface to this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DemoFO2PDF
public DemoFO2PDF()
convertFO2PDF
public void convertFO2PDF(URL fo,
File pdf)
throws IOException,
FOrayException
- Demonstration of a conversion from FO to PDF.
- Parameters:
fo
- The FO file to be converted.pdf
- The output file.
- Throws:
IOException
- For I/O errors.
FOrayException
- For errors during FOray processing.
main
public static void main(String[] args)
- Command-line interface to this class.
- Parameters:
args
- The command-line arguments. None are currently supported.
Copyright © 2017. All rights reserved.