public class EmailAddress extends Object
Constructor and Description |
---|
EmailAddress(String address)
Initialize the address with only the email address part.
|
EmailAddress(String address,
String personal)
Initialize the address with the email address and the personal parts.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddress() |
String |
getPersonal() |
String |
toString() |
public EmailAddress(String address, String personal)
address
- the email address part, it is of the form "user@domain.host"personal
- the personal partpublic EmailAddress(String address)
address
- the email address partCopyright © 2019. All Rights Reserved.