|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.mail.search.SearchTerm
javax.mail.search.ComparisonTerm
javax.mail.search.DateTerm
javax.mail.search.SentDateTerm
public final class SentDateTerm
This class implements comparisons for the Message SentDate.
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)
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 date
public boolean equals(java.lang.Object obj)
equals
in class DateTerm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |