public interface PropertyRegistry extends PropertyLoader
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
removeProperty(java.lang.String key)
Removes a property.
|
java.lang.String |
setProperty(java.lang.String key,
java.lang.String value)
Sets a property that maps a key to a value.
|
getProperty, getProperty@Nullable
java.lang.String setProperty(java.lang.String key,
java.lang.String value)
key - the key.value - the value.null if the property is not found.java.lang.SecurityException - if a security manager exists and does not allow the caller to set the given property.@Nullable java.lang.String removeProperty(java.lang.String key)
key - the key.null if the property is not found.java.lang.SecurityException - if a security manager exists and does not allow the caller to remove the given property.