Overview Package Class Tree Deprecated Index Help
JavaTM 2 Platform
Ent. Ed. v1.4
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

javax.mail
Class Address

java.lang.Object
 extended byjavax.mail.Address
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InternetAddress, NewsAddress

public abstract class Address
extends 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:
John Mani, Bill Shannon
See Also:
Serialized Form

Constructor Summary
Address()
Method Summary
abstract boolean equals(Object address)
The equality operator.
abstract String getType()
Return a type string that identifies this address type.
abstract String toString()
Return a String representation of this address object.
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

Address

public Address()
Method Detail

getType

public abstract String getType()
Return a type string that identifies this address type.

Returns:
address type
See Also:
InternetAddress

toString

public abstract String toString()
Return a String representation of this address object.

Returns:
string representation of this address

equals

public abstract boolean equals(Object address)
The equality operator.

Parameters:
address - Address object

Overview Package Class Tree Deprecated Index Help
JavaTM 2 Platform
Ent. Ed. v1.4
PREV CLASS NEXT CLASS FRAMES NO FRAMES All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /