|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.mail.Address
public abstract class Address
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.
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 |
---|
public Address()
Method Detail |
---|
public abstract String getType()
InternetAddress
public abstract String toString()
toString
in class Object
public abstract boolean equals(Object address)
hashCode
method that preserves the general contract of
equals
and hashCode
- objects that
compare as equal must have the same hashCode.
equals
in class Object
address
- Address object
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.