Class EmailAddress
java.lang.Object
org.apache.tools.ant.taskdefs.email.EmailAddress
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an empty email addressEmailAddress(String email) Creates a new email address based on the given string
- 
Method SummaryModifier and TypeMethodDescriptionReturns the addressgetName()Returns the display namevoidsetAddress(String address) Sets the email address.voidSets the personal / display name of the address.toString()Constructs a string "name <address>" or "address"
- 
Constructor Details- 
EmailAddresspublic EmailAddress()Creates an empty email address
- 
EmailAddressCreates a new email address based on the given string- Parameters:
- email- the email address (with or without <>) Acceptable forms include: address <address> name <address> <address> name (name) address address (name)
 
 
- 
- 
Method Details- 
setNameSets the personal / display name of the address.- Parameters:
- name- the display name
 
- 
setAddressSets the email address.- Parameters:
- address- the actual email address (without <>)
 
- 
toString
- 
getAddress
- 
getName
 
-