FileDocCategorySizeDatePackage
Address.javaAPI DocGlassfish v2 API3484Mon May 14 15:28:46 BST 2007javax.mail

Address

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
author
Bill Shannon

Fields Summary
private static final long
serialVersionUID
Constructors Summary
Methods Summary
public abstract booleanequals(java.lang.Object address)
The equality operator. Subclasses should provide an implementation of this method that supports value equality (do the two Address objects represent the same destination?), not object reference equality. A subclass must also provide a corresponding implementation of the hashCode method that preserves the general contract of equals and hashCode - objects that compare as equal must have the same hashCode.

param
address Address object

public abstract java.lang.StringgetType()
Return a type string that identifies this address type.

return
address type
see
javax.mail.internet.InternetAddress

public abstract java.lang.StringtoString()
Return a String representation of this address object.

return
string representation of this address