|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xins.common.collections.AbstractPropertyReader org.xins.common.collections.BasicPropertyReader
Modifiable implementation of a property reader.
Constructor Summary | |
BasicPropertyReader()
Constructs a new BasicPropertyReader . |
Method Summary | |
void |
remove(String name)
Removes the specified property. |
void |
set(String name,
String value)
Sets the specified property. |
Methods inherited from class org.xins.common.collections.AbstractPropertyReader |
equals, get, getNames, getPropertiesMap, hashCode, size |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicPropertyReader()
BasicPropertyReader
.
Method Detail |
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
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |