|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.mail.event Class StoreEvent
java.lang.Object java.util.EventObject javax.mail.event.MailEvent javax.mail.event.StoreEvent
- 所有已实现的接口:
- Serializable
public class StoreEvent
- extends MailEvent
This class models notifications from the Store connection. These notifications can be ALERTS or NOTICES. ALERTS must be presented to the user in a fashion that calls the user's attention to the message.
- 作者:
- John Mani
- 另请参见:
- Serialized Form
字段摘要 | |
---|---|
static int |
ALERT
Indicates that this message is an ALERT. |
protected String |
message
The message text to be presented to the user. |
static int |
NOTICE
Indicates that this message is a NOTICE. |
protected int |
type
The event type. |
Fields inherited from class java.util.EventObject |
---|
source |
构造器摘要 | |
---|---|
StoreEvent(Store store,
int type,
String message)
Constructor. |
方法摘要 | |
---|---|
void |
dispatch(Object listener)
Invokes the appropriate StoreListener method. |
String |
getMessage()
Get the message from the Store. |
int |
getMessageType()
Return the type of this event. |
类方法继承 java.util.EventObject |
---|
getSource, toString |
类方法继承 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
字段详细信息 |
---|
ALERT
public static final int ALERT
- Indicates that this message is an ALERT.
- 另请参见:
- 常量字段
NOTICE
public static final int NOTICE
- Indicates that this message is a NOTICE.
- 另请参见:
- 常量字段
type
protected int type
- The event type.
message
protected String message
- The message text to be presented to the user.
构造器详细信息 |
---|
StoreEvent
public StoreEvent(Store store, int type, String message)
- Constructor.
- 参数:
store
- The source Store
方法详细信息 |
---|
getMessageType
public int getMessageType()
getMessage
public String getMessage()
- Get the message from the Store.
- 返回:
- message from the Store
dispatch
public void dispatch(Object listener)
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.