|
Compoze Software, Inc. | ||||||||
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.compoze.util.ObjectProperties | +--com.compoze.util.MutableProperties | +--com.compoze.util.ResourceProperties | +--com.compoze.util.CompozeProperties
This class is a singleton that provides access to the Compoze system
properties. The search order for these properties is as follows:
System.getProperty()
)
compoze.properties
stored in the CLASSPATH
Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
Fields inherited from class com.compoze.util.ResourceProperties |
CONFIG_KEY, m_sResourceName |
Fields inherited from class java.util.Properties |
defaults |
Method Summary | |
java.lang.String |
getProperty(java.lang.String sKey)
Get a property. |
java.lang.String |
getProperty(java.lang.String sKey,
java.lang.String sDefault)
Get a property. |
static CompozeProperties |
i()
Get the singleton instance of this class. |
static void |
main(java.lang.String[] args)
Exerciser. |
Methods inherited from class com.compoze.util.MutableProperties |
propertyNames, setConfiguration |
Methods inherited from class com.compoze.util.ObjectProperties |
getBoolean, getBoolean, getByte, getByte, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getShort, getShort, getString, getString, getStringArray, getStringArray, getStringArray, replaceSubstitutions |
Methods inherited from class java.util.Properties |
list, list, load, 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, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public static CompozeProperties i()
public java.lang.String getProperty(java.lang.String sKey)
getProperty
in class MutableProperties
sKey
- the keypublic java.lang.String getProperty(java.lang.String sKey, java.lang.String sDefault)
getProperty
in class MutableProperties
sKey
- the keysDefault
- the default valuepublic static void main(java.lang.String[] args)
args
- the command line arguments
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |