Package org.apache.fop.cli
Class Main
java.lang.Object
org.apache.fop.cli.Main
Main command-line class for Apache FOP.
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static URL[]
static void
The main routine for the command line interfacestatic void
Executes FOP with the given arguments.static void
startFOPWithDynamicClasspath
(String[] args) Dynamically builds a ClassLoader and executes FOP.
-
Method Details
-
getJARList
- Returns:
- the list of URLs to all libraries.
- Throws:
MalformedURLException
- In case there is a problem converting java.io.File instances to URLs.
-
checkDependencies
public static boolean checkDependencies()- Returns:
- true if FOP's dependecies are available in the current ClassLoader setup.
-
startFOPWithDynamicClasspath
Dynamically builds a ClassLoader and executes FOP.- Parameters:
args
- command-line arguments
-
startFOP
Executes FOP with the given arguments. If no argument is provided, returns its version number as well as a short usage statement; if '-v' is provided, returns its version number alone; if '-h' is provided, returns its short help message.- Parameters:
args
- command-line arguments
-
main
The main routine for the command line interface- Parameters:
args
- the command line parameters
-