javax.mail.search
Class SentDateTerm
java.lang.Object
javax.mail.search.SearchTerm
javax.mail.search.ComparisonTerm
javax.mail.search.DateTerm
javax.mail.search.SentDateTerm
- 所有已实现的接口:
- Serializable
public final class SentDateTerm
- extends DateTerm
This class implements comparisons for the Message SentDate.
- 作者:
- Bill Shannon, John Mani
- 另请参见:
- Serialized Form
SentDateTerm
public SentDateTerm(int comparison,
Date date)
- Constructor.
- 参数:
comparison
- the Comparison typedate
- the date to be compared
match
public boolean match(Message msg)
- The match method.
- 规范说明:
match
in class SearchTerm
- 参数:
msg
- the date comparator is applied to this Message's
sent date
- 返回:
- true if the comparison succeeds, otherwise false
equals
public boolean equals(Object obj)
- Equality comparison.
- 重写:
equals
in class DateTerm
提交错误或意见 版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.