Package com.sun.mail.imap
Class MessageVanishedEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.mail.event.MailEvent
-
- javax.mail.event.MessageCountEvent
-
- com.sun.mail.imap.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 Summary
-
Fields inherited from class javax.mail.event.MessageCountEvent
ADDED, REMOVED
-
-
Constructor Summary
Constructors Constructor Description MessageVanishedEvent(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 javax.mail.event.MessageCountEvent
dispatch, getMessages, getType, isRemoved
-
-
-
-
Constructor Detail
-
MessageVanishedEvent
public MessageVanishedEvent(Folder folder, long[] uids)
Constructor.- Parameters:
folder
- the containing folderuids
- the UIDs for the vanished messages
-
-