Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.mail.search
Class SizeTerm  view SizeTerm download SizeTerm.java

java.lang.Object
  extended byjavax.mail.search.SearchTerm
      extended byjavax.mail.search.ComparisonTerm
          extended byjavax.mail.search.IntegerComparisonTerm
              extended byjavax.mail.search.SizeTerm
All Implemented Interfaces:
java.io.Serializable

public final class SizeTerm
extends IntegerComparisonTerm

Version:
$Rev: 54266 $ $Date: 2004-10-10 14:02:50 -0700 (Sun, 10 Oct 2004) $

Field Summary
 
Fields inherited from class javax.mail.search.IntegerComparisonTerm
number
 
Fields inherited from class javax.mail.search.ComparisonTerm
comparison, EQ, GE, GT, LE, LT, NE
 
Constructor Summary
SizeTerm(int comparison, int size)
           
 
Method Summary
 boolean match(javax.mail.Message message)
          Checks a matching criteria defined by the concrete subclass of this Term.
 
Methods inherited from class javax.mail.search.IntegerComparisonTerm
equals, getComparison, getNumber, hashCode, match
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SizeTerm

public SizeTerm(int comparison,
                int size)
Method Detail

match

public boolean match(javax.mail.Message message)
Description copied from class: SearchTerm
Checks a matching criteria defined by the concrete subclass of this Term.

Specified by:
match in class SearchTerm