| java.lang.Object | |
| ↳ | com.google.code.javax.mail.Address |
Known Direct Subclasses
|
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.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| long | serialVersionUID | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
The equality operator.
| |||||||||||
Return a type string that identifies this address type.
| |||||||||||
Return a String representation of this address object.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
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.
| address | Address object |
|---|
Return a type string that identifies this address type.
Return a String representation of this address object.