⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
javax.mail

Class Address

java.lang.Object
|
+--javax.mail.Address

All Implemented Interfaces:
Serializable

Known Direct Subclasses:
InternetAddress, NewsAddress


public abstract class Address
extends java.lang.Object
implements Serializable

This abstract class models the addresses in a message. Subclasses provide specific implementations. Subclasses will typically be serializable so that (for example) the use of Address objects in search terms can be serialized along with the search terms.
Author:

Method Summary

boolean

equals(Object obj)

The equality operator.

String

getType()

Return a type string that identifies this address type.

String

toString()

Return a String representation of this address object.

Method Details

equals

public boolean equals(Object obj)

The equality operator.

Parameters:
obj

getType

public String getType()

Return a type string that identifies this address type.


toString

public String toString()

Return a String representation of this address object.