public interface Registry
Instance available via ELJBean.getEphoxRegistry()
.
Modifier and Type | Method and Description |
---|---|
void |
addProperty(java.lang.String key,
java.lang.String value)
Adds a new property to the registry or overwrites an existing value.
|
boolean |
contains(java.lang.String key)
Checks to see if the registry contains a given property.
|
java.lang.String |
getProperty(java.lang.String key)
Returns the value for a given property name.
|
void |
removeProperty(java.lang.String key)
Removes the given property from the registry, then saves the registry.
|
void addProperty(java.lang.String key, java.lang.String value) throws RegistryException
key
- Property name.value
- Property value.RegistryException
void removeProperty(java.lang.String key)
key
- Name of the property to remove.boolean contains(java.lang.String key) throws RegistryException
key
- Property to check for in the registry.RegistryException
java.lang.String getProperty(java.lang.String key) throws RegistryException
key
- Name of property.RegistryException