Class PropertiesEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.beans.propertyeditors.PropertiesEditor
- All Implemented Interfaces:
 PropertyEditor
Custom 
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.
- Author:
 - Rod Johnson, Juergen Hoeller
 - See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidConvertStringintoProperties, considering it as properties content.voidMethods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor 
- 
Constructor Details
- 
PropertiesEditor
public PropertiesEditor() 
 - 
 - 
Method Details
- 
setAsText
ConvertStringintoProperties, considering it as properties content.- Specified by:
 setAsTextin interfacePropertyEditor- Overrides:
 setAsTextin classPropertyEditorSupport- Parameters:
 text- the text to be so converted- Throws:
 IllegalArgumentException
 - 
setValue
- Specified by:
 setValuein interfacePropertyEditor- Overrides:
 setValuein classPropertyEditorSupport
 
 -