javax.mail.search
类 SubjectTerm
java.lang.Object
javax.mail.search.SearchTerm
javax.mail.search.StringTerm
javax.mail.search.SubjectTerm
- 所有已实现的接口:
- Serializable
public final class SubjectTerm
- extends StringTerm
This class implements comparisons for the Message Subject header.
The comparison is case-insensitive.
- 作者:
- Bill Shannon, John Mani
- 另请参见:
- 序列化表格
SubjectTerm
public SubjectTerm(String pattern)
- Constructor.
- 参数:
pattern - the pattern to search for
match
public boolean match(Message msg)
- The match method.
- 指定者:
- 类
SearchTerm 中的 match
- 参数:
msg - the pattern match is applied to this Message's
subject header
- 返回:
- true if the pattern match succeeds, otherwise false
equals
public boolean equals(Object obj)
- Equality comparison.
- 覆盖:
- 类
StringTerm 中的 equals
Copyright © 2013. All Rights Reserved.