站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v1.4 API Specifications

MessageCountListener (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

javax.mail.event
Interface MessageCountListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
MessageCountAdapter

public interface MessageCountListener
extends EventListener

This is the Listener interface for MessageCount events.

Author:
John Mani

Method Summary
 void messagesAdded(MessageCountEvent e)
          Invoked when messages are added into a folder.
 void messagesRemoved(MessageCountEvent e)
          Invoked when messages are removed (expunged) from a folder.
 

Method Detail

messagesAdded

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


messagesRemoved

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


JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.