|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.oddjob.Main
public class Main
This is a very simple wrapper around Oddjob with a main method.
| Field Summary | |
|---|---|
static String |
ODDBALLS_DIR
|
static String |
USER_PROPERTIES
|
| Constructor Summary | |
|---|---|
Main()
|
|
| Method Summary | |
|---|---|
void |
configureLog(String logConfigFileName)
Configure logging from a log file. |
OddjobRunner |
init(String[] args)
Parse the command args and configure Oddjob. |
static void |
main(String[] args)
The main. |
protected void |
processUserProperties()
|
void |
usage()
Display usage info. |
void |
version()
Display version info. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ODDBALLS_DIR
public static final String USER_PROPERTIES
| Constructor Detail |
|---|
public Main()
| Method Detail |
|---|
public OddjobRunner init(String[] args)
throws IOException
args - The args.
FileNotFoundException
IOExceptionpublic void configureLog(String logConfigFileName)
logConfigFileName - The log file name.public void usage()
public void version()
protected void processUserProperties()
throws IOException
IOException
public static void main(String[] args)
throws IOException
args - The command line args.
FileNotFoundException
IOException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||