|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.mail.search.SearchTerm | +--javax.mail.search.ComparisonTerm | +--javax.mail.search.DateTerm | +--javax.mail.search.SentDateTerm
This class implements comparisons for the Message SentDate.
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)
Constructor. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Equality comparison. |
boolean |
match(Message msg)
The match method. |
Methods inherited from class javax.mail.search.DateTerm |
getComparison, getDate, hashCode, match |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SentDateTerm(int comparison, java.util.Date date)
comparison
- the Comparison typedate
- the date to be comparedMethod Detail |
public boolean match(Message msg)
match
in class SearchTerm
msg
- the date comparator is applied to this Message's
sent datepublic boolean equals(java.lang.Object obj)
equals
in class DateTerm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |