public class Main extends Object
Modifier and Type | Field and Description |
---|---|
static String |
USER_PROPERTIES |
Constructor and Description |
---|
Main() |
Modifier and Type | Method and Description |
---|---|
void |
configureLog(String logConfigFileName)
Configure logging from a log file.
|
Oddjob |
init(String[] args)
Parse the command args and configure Oddjob.
|
static void |
main(String[] args)
The main.
|
protected Properties |
processUserProperties()
Process the properties in oddjob.properties in the users
home directory.
|
void |
usage()
Display usage info.
|
void |
version()
Display version info.
|
public static final String USER_PROPERTIES
public Oddjob init(String[] args) throws IOException
args
- The args.FileNotFoundException
IOException
public void configureLog(String logConfigFileName)
logConfigFileName
- The log file name.public void usage()
public void version()
protected Properties processUserProperties() throws IOException
IOException
public static void main(String[] args) throws IOException
args
- The command line args.FileNotFoundException
IOException