public class Main extends Object
Constructor and Description |
---|
Main()
The sole constructor of this class.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String... args)
The main method to start the application.
|
void |
run(String... args)
Run the application with the given command line arguments.
|
public static void main(String... args) throws IOException
The main method to start the application.
args
- the command line arguments.IOException
- forwarded exception.public void run(String... args) throws IOException
Run the application with the given command line arguments.
The application uses the system property app.home
to determine the home folder of the application and
resolve the default configuration file relative to this folder.
This method needs the system property app.home
to be set. If the system property is not set then the
application is terminated with exit code -3
.
args
- the command line arguments.IOException
- forwarded exceptionCopyright © 2020 sw4j.org. All rights reserved.