Package de.aristaflow.adept2.model.mail
Class EmailAddress
java.lang.Object
de.aristaflow.adept2.model.mail.EmailAddress
- All Implemented Interfaces:
Serializable
This class represents an email address with the address (
first.last@xyz.com) and an
optional name, e. g. First Last.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmailAddress(String address) Creates a newEmailAddressfor the designated address (and no name).EmailAddress(String name, String address) Creates a newEmailAddressfor the designated name and address. -
Method Summary
-
Constructor Details
-
EmailAddress
Creates a newEmailAddressfor the designated address (and no name).- Parameters:
address- The address for which to create a newEmailAddress.
-
EmailAddress
Creates a newEmailAddressfor the designated name and address.- Parameters:
name- The human-readable name for which to create a newEmailAddress. This must not be empty but it may benull.address- The address for which to create a newEmailAddress.
-
-
Method Details