MailEvent (Java EE 5)

Java EE API


javax.mail.event Class MailEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.mail.event.MailEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConnectionEvent, FolderEvent, MessageChangedEvent, MessageCountEvent, StoreEvent, TransportEvent

public abstract class MailEvent
extends EventObject

Extends: java.util.EventObject

邮件事件的公共基类,定义指派方法。
英文文档:

Common base class for mail events, defining the dispatch method.

Author:
Bill Shannon
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
 
Constructor Summary
 
Method Summary
abstract  void
 
Methods inherited from class java.util.EventObject
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public MailEvent(Object source)
英文文档:

MailEvent

public MailEvent(Object source)
Method Detail

abstract public void dispatch(Object listener)
此方法对此事件的侦听器调用相应的方法。子类提供该实现。
英文文档:

dispatch

public abstract void dispatch(Object listener)
This method invokes the appropriate method on a listener for this event. Subclasses provide the implementation.



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!