|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
java.util.Properties
com.stellent.cis.common.util.SafeProperties
public class SafeProperties
Property map that does not return null values, but instead returns empty strings
| Field Summary |
|---|
| Fields inherited from class java.util.Properties |
|---|
defaults |
| Constructor Summary | |
|---|---|
SafeProperties()
Creates an empty property list with no default values. |
|
SafeProperties(java.util.Properties defaults)
Creates an empty property list with the specified defaults. |
|
| Method Summary | |
|---|---|
java.lang.String |
getProperty(java.lang.String key)
|
| Methods inherited from class java.util.Properties |
|---|
getProperty, list, list, load, loadFromXML, propertyNames, 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 |
| Constructor Detail |
|---|
public SafeProperties()
public SafeProperties(java.util.Properties defaults)
defaults - the defaults.| Method Detail |
|---|
public java.lang.String getProperty(java.lang.String key)
getProperty in class java.util.Propertieskey - the property key.
Properties.setProperty(java.lang.String, java.lang.String),
Properties.defaults
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||