MessageCountListener (Java EE 5)

Java EE API


javax.mail.event Interface MessageCountListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
MessageCountAdapter

public interface MessageCountListener
extends EventListener

Implements: java.util.EventListener
Implemented by: MessageCountAdapter

这是 MessageCount 事件的 Listener 接口。
英文文档:

This is the Listener interface for MessageCount events.

Author:
John Mani

Method Summary
 void
 void
 

Method Detail

public void messagesAdded(MessageCountEvent e)
将消息添加到文件夹中时调用。
英文文档:

messagesAdded

void messagesAdded(MessageCountEvent e)
Invoked when messages are added into a folder.


public void messagesRemoved(MessageCountEvent e)
从文件夹中移除(擦除)消息时调用。
英文文档:

messagesRemoved

void messagesRemoved(MessageCountEvent e)
Invoked when messages are removed (expunged) from a folder.



Submit a bug or feature

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

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

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