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

All Implemented Interfaces:
    Serializable

This class implements comparisons for Message sizes.
Fields inherited from javax.mail.search.IntegerComparisonTerm:
number
Fields inherited from javax.mail.search.ComparisonTerm:
LE,  LT,  EQ,  NE,  GT,  GE,  comparison
Constructor:
 public SizeTerm(int comparison,
    int size) 
Method from javax.mail.search.SizeTerm Summary:
equals,   match
Methods from javax.mail.search.IntegerComparisonTerm:
equals,   getComparison,   getNumber,   hashCode,   match
Methods from javax.mail.search.ComparisonTerm:
equals,   hashCode
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.SizeTerm Detail:
 public boolean equals(Object obj) 
    Equality comparison.
 public boolean match(Message msg) 
    The match method.