|
||||||||
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. |
File |
findFileToUse(String oddjobFile,
String oddjobHome)
Work out which file to use |
OddjobRunner |
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. |
protected ArooaDescriptorFactory |
resolveOddballs(String oddballsPath,
File oddballsDir)
|
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
IOException
protected ArooaDescriptorFactory resolveOddballs(String oddballsPath, File oddballsDir)
public void configureLog(String logConfigFileName)
logConfigFileName
- The log file name.public void usage()
public void version()
public File findFileToUse(String oddjobFile, String oddjobHome) throws FileNotFoundException
oddjobFile
-
FileNotFoundException
protected Properties 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 |