javax.mail.search
Class AddressTerm


java.lang.Object

  |

  +--javax.mail.search.SearchTerm

        |

        +--javax.mail.search.AddressTerm

Direct Known Subclasses:
FromTerm, RecipientTerm

public abstract class AddressTerm
extends SearchTerm

This class implements Message Address comparisons.


Field Summary
protected  Address address
           
 
Constructor Summary
protected AddressTerm(Address address)
           
 
Method Summary
 Address getAddress()
          Return the address to match with.
protected  boolean match(Address a)
          Match against the argument Address.
 
Methods inherited from class javax.mail.search.SearchTerm
match
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

address


protected Address address
Constructor Detail

AddressTerm


protected AddressTerm(Address address)
Method Detail

getAddress


public Address getAddress()
Return the address to match with.

match


protected boolean match(Address a)
Match against the argument Address.