public class MailAddress
public class .MailAddress
MailAddress contains the information address and realName
-
-
Public Methods
- MailAddress()
- Create new Object
- static MailAddress parseAddress(String address)
- Convert a String to a MailAddress
- void setAddress(String address)
- Sets the email address part
- String getAddress()
- Gets the email address part
- void setRealName(String realName)
- Sets the real life name part
- String getRealName()
- Gets the real life name part
- String toString()
- Converts this object to a String; see class description for format
-
Documentation
MailAddress contains the information address and realName. adress is the email address, e.g. rblasch@cs.bgsu.edu. realName would be Ronald Blaschke The email address is required, the realName is optional.The string representation is as follows:email address only<email address>email address and real life name"Real Life Name" <email address>
- MailAddress()
- Create new Object.
- static MailAddress parseAddress(String address)
- Convert a String to a MailAddress. Currently the String may only contain the email address, eg rblasch@cs.bgsu.edu.
- Returns:
- The MailAddress
- Parameters:
-
address - String containing the address
- void setAddress(String address)
- Sets the email address part.
- Parameters:
-
address - email address
- String getAddress()
- Gets the email address part.
- Returns:
- email address
- void setRealName(String realName)
- Sets the real life name part.
- Parameters:
-
realName - real life name
- String getRealName()
- Gets the real life name part.
- Returns:
- real life name
- String toString()
- Converts this object to a String; see class description for format.
- Returns:
- String representation of this MailAddress
- String address
- The email address. Eg rblasch@cs.bgsu.edu.
- String realName
- The real life name. Eg Ronald Blaschke.
- This class has no child classes.
- Author:
- Ronald Blaschke <rblasch@cs.bgsu.edu>
- Version:
- 1.0
Alphabetic index HTML hierarchy of classes or Java
DOC++