IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 5.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM Platform, Enterprise Edition, v 5.0

javax.mail.event
Class MessageCountAdapter

java.lang.Object
  extended by javax.mail.event.MessageCountAdapter
All Implemented Interfaces:
EventListener, MessageCountListener

public abstract class MessageCountAdapter
extends Object
implements MessageCountListener

The adapter which receives MessageCount events. The methods in this class are empty; this class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.

Author:
John Mani

Constructor Summary
MessageCountAdapter()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageCountAdapter

public MessageCountAdapter()
Method Detail

messagesAdded

public void messagesAdded(MessageCountEvent e)
Description copied from interface: MessageCountListener
Invoked when messages are added into a folder.

Specified by:
messagesAdded in interface MessageCountListener

messagesRemoved

public void messagesRemoved(MessageCountEvent e)
Description copied from interface: MessageCountListener
Invoked when messages are removed (expunged) from a folder.

Specified by:
messagesRemoved in interface MessageCountListener

Copyright 2003 Sun Microsystems, Inc. All rights reserved