java.lang .Object org.apache.tools.ant.taskdefs.email .EmailAddress EmailAddress public class EmailAddress (Code) Holds an email address.
since: Ant 1.5
EmailAddress public EmailAddress()(Code) Creates an empty email address
EmailAddress public EmailAddress(String email)(Code) Creates a new email address based on the given string
Parameters: email - the email address (with or without <>)Acceptable forms include:addressname name(name) addressaddress (name)
getAddress public String getAddress()(Code) Returns the address
the address part
getName public String getName()(Code) Returns the display name
the display name part
setAddress public void setAddress(String address)(Code) Sets the email address
Parameters: address - the actual email address (without <>)
setName public void setName(String name)(Code) Sets the personal / display name of the address
Parameters: name - the display name
toString public String toString()(Code) Constructs a string "name <address>" or "address"
a string representation of the address