public class InternetAddressEditor extends 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 |
---|---|
String |
getAsText() |
void |
setAsText(String text) |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
IllegalArgumentException
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport