Save This Page
Home » apache-tomcat-6.0.16-src » javax » mail » search » [javadoc | source]
javax.mail.search
abstract public class: AddressTerm [javadoc | source]
java.lang.Object
   javax.mail.search.SearchTerm
      javax.mail.search.AddressTerm

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    RecipientTerm, FromTerm

Term that compares two addresses.
Field Summary
protected  Address address    The address. 
Constructor:
 protected AddressTerm(Address address) 
    Constructor taking the address for this term.
    Parameters:
    address - the address
Method from javax.mail.search.AddressTerm Summary:
equals,   getAddress,   hashCode,   match
Methods from javax.mail.search.SearchTerm:
match
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.mail.search.AddressTerm Detail:
 public boolean equals(Object other) 
 public Address getAddress() 
    Return the address of this term.
 public int hashCode() 
 protected boolean match(Address address) 
    Match to the supplied address.