Class MessageVanishedEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class MessageVanishedEvent
    extends jakarta.mail.event.MessageCountEvent
    This class provides notification of messages that have been removed since the folder was last synchronized.
    Since:
    JavaMail 1.5.1
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class jakarta.mail.event.MessageCountEvent

        ADDED, msgs, removed, REMOVED, type
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      MessageVanishedEvent​(jakarta.mail.Folder folder, long[] uids)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long[] getUIDs()
      Return the UIDs for this event.
      • Methods inherited from class jakarta.mail.event.MessageCountEvent

        dispatch, getMessages, getType, isRemoved
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MessageVanishedEvent

        public MessageVanishedEvent​(jakarta.mail.Folder folder,
                                    long[] uids)
        Constructor.
        Parameters:
        folder - the containing folder
        uids - the UIDs for the vanished messages
    • Method Detail

      • getUIDs

        public long[] getUIDs()
        Return the UIDs for this event.
        Returns:
        the UIDs