java.beans.PropertyEditor for Properties objects.
Handles conversion from content String to Properties object.
Also handles Map to Properties conversion, for populating
a Properties object via XML "map" entries.
The required format is defined in the standard Properties
documentation. Each property must be on a new line.
java.util.Properties#load
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | setAsText(String
the text to be so converted text)Overrides java. Implements java. String into Properties, considering it as
properties content.
|
| public void | setValue(Object
The new target object to be edited. Note that this
object should not be modified by the PropertyEditor, rather
the PropertyEditor should create a new object to hold any
modified value. value)Overrides java. Implements java. Properties as-is; convert Map into Properties.
|
| PropertiesEditor | back to summary |
|---|---|
| public PropertiesEditor() | |
| setAsText | back to summary |
|---|---|
| public void setAsText(String text) throws IllegalArgumentException Overrides java. Implements java. Convert | |
| setValue | back to summary |
|---|---|
| public void setValue(Object value) Overrides java. Implements java. Take
| |