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