javax.mail.search
Class SizeTerm
java.lang.Object
  
javax.mail.search.SearchTerm
      
javax.mail.search.ComparisonTerm
          
javax.mail.search.IntegerComparisonTerm
              
javax.mail.search.SizeTerm
- All Implemented Interfaces: 
 - Serializable
 
public final class SizeTerm
- extends IntegerComparisonTerm
 
- Version:
 
  - $Rev: 593593 $ $Date: 2007-11-09 12:04:20 -0500 (Fri, 09 Nov 2007) $
 
- See Also:
 - Serialized Form
 
 
 
 
| 
Constructor Summary | 
SizeTerm(int comparison,
                 int size)
 
            | 
 
| 
Method Summary | 
 boolean | 
equals(Object other)
 
            | 
 boolean | 
match(Message message)
 
          Checks a matching criteria defined by the concrete subclass of this Term. | 
 
 
 
SizeTerm
public SizeTerm(int comparison,
                int size)
match
public boolean match(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
 
- Parameters:
 message - the message to apply the matching criteria to
- Returns:
 - true if the matching criteria is met
 
 
 
equals
public boolean equals(Object other)
- Overrides:
 equals in class IntegerComparisonTerm
 
 
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.