Home » apache-tomcat-6.0.26-src » javax » mail » event » [javadoc | source]
javax.mail.event
public interface: MessageCountListener [javadoc | source]

All Implemented Interfaces:
    EventListener

All Known Implementing Classes:
    MessageCountAdapter, MessageCountListenerTest

This is the Listener interface for MessageCount events.
Method from javax.mail.event.MessageCountListener Summary:
messagesAdded,   messagesRemoved
Method from javax.mail.event.MessageCountListener Detail:
 public  void messagesAdded(MessageCountEvent e)
    Invoked when messages are added into a folder.
 public  void messagesRemoved(MessageCountEvent e)
    Invoked when messages are removed (expunged) from a folder.