|
||||||||||
| 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
be.erwinsmout.MyProperties
public abstract class MyProperties
| Nested Class Summary | |
|---|---|
static class |
MyProperties.SKIPAUTOLOAD
|
| Field Summary | |
|---|---|
static java.lang.String |
SUFFIX
|
| Constructor Summary | |
|---|---|
MyProperties()
|
|
MyProperties(boolean resolveSystemPropertyReferences)
Creates the Properties object, and tries to load it from one of the following places: A resource available to this' classloader A file in the directory pointed to by the user.dir system property A file in the directory pointed to by the user.home system property |
|
MyProperties(MyProperties.SKIPAUTOLOAD skipAutoLoad)
Constructor that skips the automatic loading process. |
|
MyProperties(java.util.Properties defaults)
Creates the MyProperties |
|
MyProperties(java.util.Properties defaults,
boolean resolveSystemPropertyReferences)
Creates the MyProperties |
|
| Method Summary | |
|---|---|
static java.lang.String |
resolveSystemPropertyRefs(java.lang.String propertyValue)
Resolves any references to System Properties in a String value by replacing the reference with the actual System Property value. |
| Methods inherited from class java.util.Properties |
|---|
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
| 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 |
| Field Detail |
|---|
public static final java.lang.String SUFFIX
| Constructor Detail |
|---|
public MyProperties()
public MyProperties(boolean resolveSystemPropertyReferences)
resolveSystemPropertyReferences - flag to indicate whether System property references (e.g.${user.home}) are to be resolved when loading the propertiespublic MyProperties(java.util.Properties defaults)
defaults -
public MyProperties(java.util.Properties defaults,
boolean resolveSystemPropertyReferences)
defaults - resolveSystemPropertyReferences - flag to indicate whether System property references (e.g.${user.home}) are to be resolved when loading the propertiespublic MyProperties(MyProperties.SKIPAUTOLOAD skipAutoLoad)
skipAutoLoad - not used, except to distinguish this constructor from others| Method Detail |
|---|
public static java.lang.String resolveSystemPropertyRefs(java.lang.String propertyValue)
propertyValue - The String value to be resolved for System Property references
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||