Class MessageVanishedEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class MessageVanishedEvent
    extends 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 Detail

      • uids

        private long[] uids
        The message UIDs.
      • noMessages

        private static final Message[] noMessages
    • Constructor Detail

      • MessageVanishedEvent

        public MessageVanishedEvent​(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