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