public class DefaultPropertySet extends AbstractPropertySet
Constructor and Description |
---|
DefaultPropertySet() |
Modifier and Type | Method and Description |
---|---|
Object |
getProperty(String name)
Returns the value mapped to the specified property name.
|
Set<String> |
getPropertyNames()
Returns the actual property names defined in this set.
|
void |
setProperty(String name,
Object value)
Associates the specified value with a property name.
|
getProperties, getProperty, getProperty, getProperty, getProperty, loadProperties, saveProperties, setProperties, setProperties, setProperty, setProperty, setProperty, setProperty
public Set<String> getPropertyNames()
PropertySet
public Object getProperty(String name)
PropertySet
null
if the property is not defined or if it maps to null
.name
- the property namepublic void setProperty(String name, Object value)
PropertySet
name
- the property name.value
- the property value (can be null
)