|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
javax.mail.search Class FlagTerm
java.lang.Objectjavax.mail.search.SearchTerm
javax.mail.search.FlagTerm
- 所有已实现的接口:
- Serializable
public final class FlagTerm
- extends SearchTerm
This class implements comparisons for Message Flags.
- 作者:
- Bill Shannon, John Mani
- 另请参见:
- Serialized Form
| 字段摘要 | |
|---|---|
protected Flags |
flags
Flags object containing the flags to test. |
protected boolean |
set
Indicates whether to test for the presence or absence of the specified Flag. |
| 构造器摘要 | |
|---|---|
FlagTerm(Flags flags,
boolean set)
Constructor. |
|
| 方法摘要 | |
|---|---|
boolean |
equals(Object obj)
Equality comparison. |
Flags |
getFlags()
Return the Flags to test. |
boolean |
getTestSet()
Return true if testing whether the flags are set. |
int |
hashCode()
Compute a hashCode for this object. |
boolean |
match(Message msg)
The comparison method. |
| 类方法继承 java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
set
protected boolean set
- Indicates whether to test for the presence or
absence of the specified Flag. If
true, then test whether all the specified flags are present, else test whether all the specified flags are absent.
flags
protected Flags flags
- Flags object containing the flags to test.
| 构造器详细信息 |
|---|
FlagTerm
public FlagTerm(Flags flags, boolean set)
- Constructor.
- 参数:
flags- Flags object containing the flags to check forset- the flag setting to check for
| 方法详细信息 |
|---|
getFlags
public Flags getFlags()
- Return the Flags to test.
getTestSet
public boolean getTestSet()
- Return true if testing whether the flags are set.
match
public boolean match(Message msg)
- The comparison method.
- 规范说明:
matchin classSearchTerm
- 参数:
msg- The flag comparison is applied to this Message- 返回:
- true if the comparson succeeds, otherwise false.
equals
public boolean equals(Object obj)
hashCode
public int hashCode()
|
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 | ||||||||
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.
