类 InternetAddressEditor
- java.lang.Object
- java.beans.PropertyEditorSupport
- org.springframework.mail.javamail.InternetAddressEditor
- 所有已实现的接口:
PropertyEditor
public class InternetAddressEditor extends PropertyEditorSupport
Editor forjava.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.
- 从以下版本开始:
- 1.2.3
- 作者:
- Juergen Hoeller
- 另请参阅:
InternetAddress
构造器概要
构造器 构造器 说明 InternetAddressEditor()
构造器详细资料
InternetAddressEditor
public InternetAddressEditor()
方法详细资料
setAsText
public void setAsText(String text) throws IllegalArgumentException
- 指定者:
setAsText
在接口中PropertyEditor
- 覆盖:
setAsText
在类中PropertyEditorSupport
- 抛出:
IllegalArgumentException
getAsText
public String getAsText()
- 指定者:
getAsText
在接口中PropertyEditor
- 覆盖:
getAsText
在类中PropertyEditorSupport