Top Description Fields Constructors Methods
com.sun.mail.imap

public Class MessageVanishedEvent

extends MessageCountEvent
Class Inheritance
Imports
javax.mail.Folder, .Message, javax.mail.event.MessageCountEvent

This class provides notification of messages that have been removed since the folder was last synchronized.
Author
Bill Shannon
Since
JavaMail 1.5.1

Field Summary

Modifier and TypeField and Description
private static final Message[]
private static final long
private long[]
uids

The message UIDs.

Inherited from javax.mail.event.MessageCountEvent:
ADDEDmsgsREMOVEDremovedtype

Constructor Summary

AccessConstructor and Description
public
MessageVanishedEvent(Folder
the containing folder
folder
,
long[]
the UIDs for the vanished messages
uids
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public long[]

Returns:

the UIDs
getUIDs
()

Return the UIDs for this event.

Inherited from javax.mail.event.MessageCountEvent:
dispatchgetMessagesgetTypeisRemoved

Field Detail

noMessagesback to summary
private static final Message[] noMessages
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.mail.event.MessageCountEvent.serialVersionUID.

uidsback to summary
private long[] uids

The message UIDs.

Constructor Detail

MessageVanishedEventback to summary
public MessageVanishedEvent(Folder folder, long[] uids)

Constructor.

Parameters
folder:Folder

the containing folder

uids:long[]

the UIDs for the vanished messages

Method Detail

getUIDsback to summary
public long[] getUIDs()

Return the UIDs for this event.

Returns:long[]

the UIDs