Home » apache-tomcat-6.0.26-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:
    FromTerm, RecipientTerm

This class implements Message Address comparisons.
Field Summary
protected  Address address    The address.
    serial:
 
Constructor:
 protected AddressTerm(Address address) 
Method from javax.mail.search.AddressTerm Summary:
equals,   getAddress,   hashCode,   match
Methods from javax.mail.search.SearchTerm:
match
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.mail.search.AddressTerm Detail:
 public boolean equals(Object obj) 
    Equality comparison.
 public Address getAddress() 
    Return the address to match with.
 public int hashCode() 
    Compute a hashCode for this object.
 protected boolean match(Address a) 
    Match against the argument Address.