java.lang.Object
|
+--javax.mail.Address
All Implemented Interfaces:
SerializableKnown 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.
equals
public boolean equals(Object obj)
The equality operator.
- 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.