public final class Main
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Main.SystemWrapper
Wrapper to support dependency injection.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkDependencies() |
static java.net.URL[] |
getJARList() |
static void |
main(java.lang.String[] args)
The main routine for the command line interface
|
static void |
startFOP(java.lang.String[] args) |
static void |
startFOP(java.lang.String[] args,
Main.SystemWrapper systemWrapper)
Executes FOP with the given arguments.
|
static void |
startFOPWithDynamicClasspath(java.lang.String[] args)
Dynamically builds a ClassLoader and executes FOP.
|
public static java.net.URL[] getJARList()
throws java.net.MalformedURLException
java.net.MalformedURLException - In case there is a problem converting java.io.File
instances to URLs.public static boolean checkDependencies()
public static void startFOPWithDynamicClasspath(java.lang.String[] args)
args - command-line argumentspublic static void startFOP(java.lang.String[] args)
public static void startFOP(java.lang.String[] args,
Main.SystemWrapper systemWrapper)
args - command-line argumentssystemWrapper - Object on which exit() is to be called.public static void main(java.lang.String[] args)
args - the command line parametersCopyright © 2025 Apache Software Foundation. All rights reserved.