EmailAddress (email-templates-library 1.3.0-4.13.0-169415 API)
Date: 2018-11-28

org.gcube.portal.mailing.message

## Class EmailAddress

- java.lang.Object
- - org.gcube.portal.mailing.message.EmailAddress

-     public class EmailAddress
      extends Object

  Represents an email address.
  Author:
    Massimiliano Assante, CNR-ISTI

- - ### Constructor Summary

    Constructors
    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.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAddress()`
    `String` | `getPersonal()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### EmailAddress

          public EmailAddress(String address,
                              String personal)

      Initialize the address with the email address and the personal parts.
      Parameters:
        `address` - the email address part, it is of the form "user@domain.host"
        `personal` - the personal part

    - #### EmailAddress

          public EmailAddress(String address)

      Initialize the address with only the email address part. It is of the form "anyuser@anydomain.anyhost".
      Parameters:
        `address` - the email address part

  - ### Method Detail

    - #### getAddress

          public String getAddress()

    - #### getPersonal

          public String getPersonal()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2018. All Rights Reserved.