|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
com.valhalla.settings.Arguments
public class Arguments
This is a singleton class. setArguments can only be called once. It can only have one reference to it, which is created inside the class.
| Field Summary |
|---|
| Fields inherited from class java.util.Properties |
|---|
defaults |
| Method Summary | |
|---|---|
boolean |
getBoolean(java.lang.String key)
|
static Arguments |
getInstance()
Gets the Arguments instance |
static void |
setArguments(java.lang.String[] args)
Initializes the arguments class with the CLI arguments |
| Methods inherited from class java.util.Properties |
|---|
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML |
| Methods inherited from class java.util.Hashtable |
|---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static void setArguments(java.lang.String[] args)
args - to be passed in from main( String args )public static Arguments getInstance()
public boolean getBoolean(java.lang.String key)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||