com.upokecenter.mail.Address

com.upokecenter.mail.Address

public class Address extends Object

Represents an email address.

Constructors

Methods

Method Details

equals

public boolean equals(Object obj)

Determines whether this object and another object are equal.

Overrides:

Parameters:

Returns:

getLocalPart

public final String getLocalPart()

Gets the local part of this email address (the part before the "@" sign).

Returns:

toString

public String toString()

Converts this address object to a text string.

Overrides:

Returns:

hashCode

public int hashCode()

Returns a hash code for this address object. No application or process identifiers are used in the hash code calculation.

Overrides:

Returns:

getDomain

public final String getDomain()

Gets the domain of this email address (the part after the "@" sign).

Returns:

Back to MailLib start page.