Package com.helger.commons.email
Interface IEmailAddress
-
- All Superinterfaces:
IHasDisplayName
- All Known Implementing Classes:
EmailAddress
public interface IEmailAddress extends IHasDisplayName
Aggregation of a personal name and an email address.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetAddress()default StringgetDisplayName()StringgetPersonal()default booleanhasPersonal()
-
-
-
Method Detail
-
hasPersonal
default boolean hasPersonal()
- Returns:
trueif a personal name is present,falseif not.
-
getDisplayName
@Nonnull default String getDisplayName()
- Specified by:
getDisplayNamein interfaceIHasDisplayName- Returns:
- The display name of this object. Should never be
null.
-
-