Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
Call org.apache.fop.cli.Main in fop.jar
What is the main class in FOP JAR file to run FOP as an standalone application?
✍: FYIcenter.com
 The main class to run FOP as an standalone application
is org.apache.fop.cli.Main. "cli" is the abbreviation of "command line interface". 
Here is how to start org.apache.fop.cli.Main with the "java" command:
The main class to run FOP as an standalone application
is org.apache.fop.cli.Main. "cli" is the abbreviation of "command line interface". 
Here is how to start org.apache.fop.cli.Main with the "java" command:
fyicenter> cd \local\fop-2.2\fop fyicenter> java -cp build\fop.jar org.apache.fop.cli.Main -imagein examples\fo\graphics\linux.bmp \temp\linux.pdf ... org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #1.
The above command uses FOP to convert an image file in BMP format into a PDF directly.
The output PDF file is located at \temp\linux.pdf. 
Open it with a PDF viewer, you will see something like this:
 
2015-11-26, ∼3420🔥, 0💬
Popular Posts:
What Is poi-scratchpad-3.5.jar? poi-scratchpad-3.5.jar is one of the JAR files for Apache POI 3.5, w...
maven-model-builder-3.8. 6.jaris the JAR file for Apache Maven 3.8.6 Model Builder module. Apache Ma...
What Is ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is the JAR files of ojdbc.jar, JD...
Apache BCEL Source Code Files are inside the Apache BCEL source package file like bcel-6.5.0-src.zip...
How to read XML document with XML Schema validation from socket connections with the socket\DelayedI...