|
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
com.compoze.util.CompozeProperties
public class 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
| Field Summary |
|---|
| 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, 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 |
| Method Detail |
|---|
public static CompozeProperties i()
public java.lang.String getProperty(java.lang.String sKey)
getProperty in class MutablePropertiessKey - the key
public java.lang.String getProperty(java.lang.String sKey,
java.lang.String sDefault)
getProperty in class MutablePropertiessKey - the keysDefault - the default value
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 | ||||||||