## Uses of Interface
javax.mail.event.MessageCountListener

- Packages that use MessageCountListener
  Package | Description
  --- | ---
  com.sun.mail.imap | An IMAP protocol provider for the JavaMail API that provides access to an IMAP message store.
  javax.mail | The JavaMailTM API provides classes that model a mail system.
  javax.mail.event | Listeners and events for the JavaMail API.

- - ### Uses of MessageCountListener in com.sun.mail.imap

    Methods in com.sun.mail.imap with parameters of type MessageCountListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | IMAPFolder.`addMessageCountListener(MessageCountListener l)`

  - ### Uses of MessageCountListener in javax.mail

    Methods in javax.mail with parameters of type MessageCountListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | Folder.`addMessageCountListener(MessageCountListener l)` Add a listener for MessageCount events on this Folder.
    `void` | Folder.`removeMessageCountListener(MessageCountListener l)` Remove a MessageCount listener.

  - ### Uses of MessageCountListener in javax.mail.event

    Classes in javax.mail.event that implement MessageCountListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MessageCountAdapter` The adapter which receives MessageCount events.

Copyright © 2016 Oracle. All rights reserved.