public class InternetAddressEditor
extends java.beans.PropertyEditorSupport
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.
InternetAddress
Constructor and Description |
---|
InternetAddressEditor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsText() |
void |
setAsText(java.lang.String text) |
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException
public java.lang.String getAsText()
getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport