javax.mail.search
Class SentDateTerm

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

public final class SentDateTerm
extends DateTerm

Version:
$Rev: 54266 $ $Date: 2004-10-10 23:02:50 +0200 (Sun, 10 Oct 2004) $
See Also:
Serialized Form

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

Constructor Detail

SentDateTerm

public SentDateTerm(int comparison,
                    java.util.Date date)
Method Detail

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


Copyright © {inceptionYear}-2007 null. All Rights Reserved.