|
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
This class is a properties object where properties are read in from a resource in the system CLASSPATH.
Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
Field Summary | |
protected static java.lang.String |
CONFIG_KEY
|
protected java.lang.String |
m_sResourceName
|
Fields inherited from class java.util.Properties |
defaults |
Constructor Summary | |
ResourceProperties(java.lang.String sResourceName)
Constructor. |
|
ResourceProperties(java.lang.String sResourceName,
java.util.Properties defaults)
Constructor. |
Method Summary | |
static void |
main(java.lang.String[] args)
Exerciser. |
Methods inherited from class com.compoze.util.MutableProperties |
getProperty, getProperty, 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 |
Field Detail |
protected static final java.lang.String CONFIG_KEY
protected java.lang.String m_sResourceName
Constructor Detail |
public ResourceProperties(java.lang.String sResourceName)
sResourceName
- the name of the resource (must be in the CLASSPATH)public ResourceProperties(java.lang.String sResourceName, java.util.Properties defaults)
sResourceName
- the name of the resource (must be in the CLASSPATH)defaults
- a list of defaults used when a Property is not foundMethod Detail |
public 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 |