javax.mail.search
Class AddressTerm
java.lang.Object
javax.mail.search.SearchTerm
javax.mail.search.AddressTerm
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- FromTerm, RecipientTerm
- public abstract class AddressTerm
- extends SearchTerm
Term that compares two addresses.
- Version:
- $Rev: 126550 $ $Date: 2005-01-26 23:27:45 +0100 (Wed, 26 Jan 2005) $
- See Also:
- Serialized Form
Constructor Summary |
protected |
AddressTerm(Address address)
Constructor taking the address for this term. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
address
protected Address address
- The address.
AddressTerm
protected AddressTerm(Address address)
- Constructor taking the address for this term.
- Parameters:
address
- the address
getAddress
public Address getAddress()
- Return the address of this term.
- Returns:
- the addre4ss
match
protected boolean match(Address address)
- Match to the supplied address.
- Parameters:
address
- the address to match with
- Returns:
- true if the addresses match
equals
public boolean equals(java.lang.Object other)
hashCode
public int hashCode()
Copyright © {inceptionYear}-2007 null. All Rights Reserved.