public interface PropertyAccess
PropertyAccess interface provides the API for
getting and setting properties.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Retrieves the value associated with a property.
|
java.lang.Object |
removeProperty(java.lang.String key)
Removes the property.
|
java.lang.Object |
setProperty(java.lang.String key,
java.lang.String value)
Sets the value for a property.
|
java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
key - the property key for which a value is desired.defaultValue - the value to return if no value currently
exists.java.lang.Object setProperty(java.lang.String key,
java.lang.String value)
key - the property key to setvalue - the string value to setjava.lang.Object removeProperty(java.lang.String key)
key - the property key to remove