Package com.helger.commons.email
Interface IEmailAddress
- All Superinterfaces:
IHasDisplayName
- All Known Implementing Classes:
EmailAddress
Aggregation of a personal name and an email address.
- Author:
- Philip Helger
-
Method Summary
-
Method Details
-
getAddress
- Returns:
- The main email address. May not be
null.
-
getPersonal
- Returns:
- The personal name. May be
null.
-
hasPersonal
default boolean hasPersonal()- Returns:
trueif a personal name is present,falseif not.
-
getDisplayName
- Specified by:
getDisplayNamein interfaceIHasDisplayName- Returns:
- The display name of this object. Should never be
null.
-