Package javax.mail.event
Interface MessageCountListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
MessageCountAdapter
This is the Listener interface for MessageCount events.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when messages are added into a folder.void
Invoked when messages are removed (expunged) from a folder.
-
Method Details
-
messagesAdded
Invoked when messages are added into a folder. -
messagesRemoved
Invoked when messages are removed (expunged) from a folder.
-