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

All Implemented Interfaces:
    Serializable

This class implements comparisons for the From Address header.
Fields inherited from javax.mail.search.AddressTerm:
address
Constructor:
 public FromTerm(Address address) 
    Constructor
    Parameters:
    address - The Address to be compared
Method from javax.mail.search.FromTerm Summary:
equals,   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.FromTerm Detail:
 public boolean equals(Object obj) 
    Equality comparison.
 public boolean match(Message msg) 
    The address comparator.