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 Detail

      • getAddress

        @Nonnull
        String getAddress()
        Returns:
        The main email address. May not be null.
      • getPersonal

        @Nullable
        String getPersonal()
        Returns:
        The personal name. May be null.
      • hasPersonal

        default boolean hasPersonal()
        Returns:
        true if a personal name is present, false if not.