public final class BasicPropertyReader extends AbstractPropertyReader
| Constructor and Description |
|---|
BasicPropertyReader()
Constructs a new
BasicPropertyReader. |
| Modifier and Type | Method and Description |
|---|---|
void |
remove(String name)
Removes the specified property.
|
void |
set(String name,
String value)
Sets the specified property.
|
equals, get, getNames, getPropertiesMap, hashCode, sizepublic BasicPropertyReader()
BasicPropertyReader.public void set(String name, String value) throws IllegalArgumentException
If value == null, then the property is removed.
name - the name of the property to set or reset, cannot be
null.value - the value for the property, can be null.IllegalArgumentException - if name == null.public void remove(String name) throws IllegalArgumentException
name - the name of the property to remove, cannot be null.IllegalArgumentException - if name == null.See http://www.xins.org/.