EmailAddress

Inheritance: java.lang.Object

public class EmailAddress

Represents an address of an email message.

Methods

Method Description
getAddress() Gets the string representation of the email address.
getDisplayName() Gets the display name associated with the address.
getOriginalAddressString() Gets the original address string.
getHost() Gets the host portion of the address.
getUser() Gets the username.

getAddress()

public final String getAddress()

Gets the string representation of the email address.

Returns: java.lang.String - The string representation of the email address.

getDisplayName()

public final String getDisplayName()

Gets the display name associated with the address.

Returns: java.lang.String - The display name associated with the address.

getOriginalAddressString()

public final String getOriginalAddressString()

Gets the original address string.

Returns: java.lang.String - The original address string.

getHost()

public final String getHost()

Gets the host portion of the address.

Returns: java.lang.String - The host portion of the address.

getUser()

public final String getUser()

Gets the username.

Returns: java.lang.String - The username.