public class Manager
extends java.lang.Object
Constructor and Description |
---|
Manager() |
Modifier and Type | Method and Description |
---|---|
private static void |
loadConfig(java.lang.String[] args)
Loads the configuration of the program.
|
static void |
main(java.lang.String[] args)
Takes the arguments from the command line and start the program.
|
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- command line argumentsjava.lang.Exception
- in case of errorsprivate static void loadConfig(java.lang.String[] args)
To specify the location of the file, use the "it.andynaz.config" system property or the "-c" option. If both are supplied, the -c option will be used. If none are supplied, a "config.properties" file in the current directory will be used.
© 2015 andynaz - http://andynaz.altervista.org