javax.mail
public abstract class Address extends Object implements Serializable
Method Summary | |
---|---|
abstract boolean | equals(Object object)
Subclasses must provide a suitable implementation of equals().
|
abstract String | getType()
Return a String that identifies this address type. |
abstract String | toString()
Subclasses must provide a suitable representation of their address. |
Parameters: object the object to compare t
Returns: true if the subclass determines the other object is equal to this Address
Returns: the type of this address
Returns: a representation of an Address as a String