Class InternetAddressEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.springframework.mail.javamail.InternetAddressEditor
- All Implemented Interfaces:
PropertyEditor
Editor for
java.mail.internet.InternetAddress
,
to directly populate an InternetAddress property.
Expects the same syntax as InternetAddress's constructor with a String argument. Converts empty Strings into null values.
- Since:
- 1.2.3
- Author:
- Juergen Hoeller
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
InternetAddressEditor
public InternetAddressEditor()
-
-
Method Details
-
setAsText
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
- Throws:
IllegalArgumentException
-
getAsText
- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport
-