|
Reality Interface Classes | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Dictionary | +--java.util.Hashtable | +--java.util.Properties | +--com.northgateis.reality.util.Properties
Handles reality specific properties.
Constructor Summary | |
Properties()
Create a new properties class and load it from the reality properties file (reality.properties). |
Method Summary | |
java.lang.String |
getProperty(java.lang.String key)
Get a property. |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Get a property. |
Methods inherited from class java.util.Properties |
list,
list,
load,
propertyNames,
save,
setProperty,
store |
Methods inherited from class java.util.Hashtable |
clear,
clone,
contains,
containsKey,
containsValue,
elements,
entrySet,
equals,
get,
hashCode,
isEmpty,
keys,
keySet,
put,
putAll,
remove,
size,
toString,
values |
Methods inherited from class java.lang.Object |
getClass,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Properties() throws java.io.IOException
Method Detail |
public java.lang.String getProperty(java.lang.String key)
Properties defined on the command line overide those set in the properties file.
key
- key to propertypublic java.lang.String getProperty(java.lang.String key, java.lang.String defaultValue)
Properties defined on the command line overide those set in the properties file.
key
- key to propertydefaultValue
- value returned of key not found
|
Reality Interface Classes | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |