javax.mail.event
public class MessageChangedEvent extends MailEvent
Version: 1.4
Field Summary | |
---|---|
static int | ENVELOPE_CHANGED
The message's envelope (headers, but not content) changed. |
static int | FLAGS_CHANGED
The message's flags changed. |
protected Message | msg
The message that changed. |
protected int | type
The event type. |
Constructor Summary | |
---|---|
MessageChangedEvent(Object source, int type, Message msg)
Constructor. |
Method Summary | |
---|---|
void | dispatch(Object listener)
Invokes the appropriate listener method. |
Message | getMessage()
Returns the changed message. |
int | getMessageChangeType()
Returns the type of this event. |
Parameters: source the owner folder type the type of change (FLAGS_CHANGED or ENVELOPE_CHANGED) msg the changed message