totalcross.net.mail
Class Address
totalcross.lang.Object
totalcross.net.mail.Address
public class Address
- extends totalcross.lang.Object
This class represents an Internet e-mail address using the syntax of RFC822. Typical address syntax is of the form
"user@host.domain" or "Personal Name ".
- Since:
- TotalCross 1.13
|
Constructor Summary |
Address(String address,
String personal)
Creates a new Address object, which represents an Internet email address. |
|
Method Summary |
String |
toString()
Return a totalcross.lang.String representation of this address object. |
| Methods inherited from class totalcross.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
address
public String address
personal
public String personal
RFC822
public static final String RFC822
Address
public Address(String address,
String personal)
throws AddressException
- Creates a new Address object, which represents an Internet email address.
- Parameters:
address - the address in RFC822 formatpersonal - the personal name
- Throws:
AddressException - if the given address is null, or does not contain the character '@'- Since:
- TotalCross 1.13
toString
public String toString()
- Return a totalcross.lang.String representation of this address object.
- Returns:
- string representation of this address