| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.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(java.lang.Object address)
The equality operator.  | 
abstract  java.lang.String | 
getType()
Return a type string that identifies this address type.  | 
abstract  java.lang.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 java.lang.String getType()
InternetAddresspublic abstract java.lang.String toString()
toString in class java.lang.Objectpublic abstract boolean equals(java.lang.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 java.lang.Objectaddress - Address object
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41