| org.mandarax.kernel.PropertiesSupport
All known Subclasses: org.mandarax.kernel.AbstractPropertiesSupport,
PropertiesSupport | public interface PropertiesSupport (Code) | | Interface that can be extended/implemented by all interfaces/classes that want
to equip their respective instances with an additional parameter facility.
Parameters are simple key-value pairs, both key and value are strings.
Implementations can use a java.util.Properties delegate.
See Also: java.util.Properties author: Jens Dietrich version: 3.4 <7 March 05> since: 2.0 |
getProperties | Properties getProperties()(Code) | | Get the properties as one "properties" instance.
a properties instance |
getProperty | String getProperty(String key)(Code) | | Get a property.
Parameters: key - the property key the respective value. The method returns null if the property is not found. |
propertyNames | Enumeration propertyNames()(Code) | | Returns an enumeration of all the keys in this property list, including distinct
keys in the default property list if a key of the same name has not already been
found from the main properties list.
an enumeration of all the keys in this property list, including the keys in the default property list |
removeProperty | Object removeProperty(String key)(Code) | | Remove a property.
Parameters: key - the property key the value to which the key had been mapped, or null if the key did not have a mapping. |
setProperty | Object setProperty(String key, String value)(Code) | | Set a property.
Parameters: key - the key Parameters: value - the value the previous value of the specified key in this property list, or null if it did not have one. |
|
|