|
Oracle | ||||||||
| 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.compoze.util.ObjectProperties
com.compoze.util.MutableProperties
com.compoze.util.ResourceProperties
public class ResourceProperties
This class is a properties object where properties are read in from a resource in the system CLASSPATH.
| 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, loadFromXML, 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 |
| 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 found| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - the command line arguments
|
Oracle | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||