Home » apache-tomcat-6.0.26-src » javax » mail » search » [javadoc | source]
javax.mail.search
public final class: RecipientTerm [javadoc | source]
java.lang.Object
   javax.mail.search.SearchTerm
      javax.mail.search.AddressTerm
         javax.mail.search.RecipientTerm

All Implemented Interfaces:
    Serializable

This class implements comparisons for the Recipient Address headers.
Field Summary
protected  RecipientType type    The recipient type.
    serial:
 
Fields inherited from javax.mail.search.AddressTerm:
address
Constructor:
 public RecipientTerm(RecipientType type,
    Address address) 
    Constructor.
    Parameters:
    type - the recipient type
    address - the address to match for
Method from javax.mail.search.RecipientTerm Summary:
equals,   getRecipientType,   hashCode,   match
Methods from javax.mail.search.AddressTerm:
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.RecipientTerm Detail:
 public boolean equals(Object obj) 
    Equality comparison.
 public RecipientType getRecipientType() 
    Return the type of recipient to match with.
 public int hashCode() 
    Compute a hashCode for this object.
 public boolean match(Message msg) 
    The match method.