Module jakarta.mail

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
    Author:
    Bill Shannon
    See Also:
    Serialized Form
    • 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