public class UpdatedFlags extends Object
Constructor and Description |
---|
UpdatedFlags(long uid,
long modSeq,
javax.mail.Flags oldFlags,
javax.mail.Flags newFlags) |
Modifier and Type | Method and Description |
---|---|
boolean |
flagsChanged() |
static boolean |
flagsChanged(javax.mail.Flags flagsOld,
javax.mail.Flags flagsNew) |
long |
getModSeq()
Return the new mod-sequence for the message
|
javax.mail.Flags |
getNewFlags()
Return the new
Flags for the message |
javax.mail.Flags |
getOldFlags()
Return the old
Flags for the message |
long |
getUid()
Return the uid for the message whichs
Flags was updated |
Iterator<javax.mail.Flags.Flag> |
systemFlagIterator()
Gets an iterator for the system flags changed.
|
Iterator<String> |
userFlagIterator()
Gets an iterator for the users flags changed.
|
public UpdatedFlags(long uid, long modSeq, javax.mail.Flags oldFlags, javax.mail.Flags newFlags)
public javax.mail.Flags getOldFlags()
Flags
for the messagepublic javax.mail.Flags getNewFlags()
Flags
for the messagepublic long getUid()
Flags
was updatedpublic Iterator<javax.mail.Flags.Flag> systemFlagIterator()
Flags.Flag
Iterator
, not nullpublic Iterator<String> userFlagIterator()
String
Iterator
, not nullpublic long getModSeq()
public static boolean flagsChanged(javax.mail.Flags flagsOld, javax.mail.Flags flagsNew)
public boolean flagsChanged()
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.