|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.chaosserver.bilbo.textui.Main
This is the main class to enter the text UI version of the program.
Field Summary | |
protected static Settings |
settings
Holds a reference to the settings objects. |
Constructor Summary | |
protected |
Main()
Default constructor. |
Method Summary | |
protected static Settings |
getSettings()
Getter for Settings |
static void |
main(String[] args)
The main method that is executed when the class is called. |
protected static void |
setSettings(Settings settings)
Setter for Settings |
protected static void |
showUsage()
Prints out the main usage file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static Settings settings
Constructor Detail |
protected Main()
Method Detail |
protected static Settings getSettings()
protected static void setSettings(Settings settings)
settings
- the settings objectpublic static void main(String[] args) throws Exception
args
- The arguments.
Exception
- if something goes wrongprotected static void showUsage() throws HelpException
HelpException
- if there is an error readin the usage.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |