javax.mail

Class Flags.Flag

public static final class Flags.Flag extends Object

Field Summary
static Flags.FlagANSWERED
Flag that indicates that the message has been replied to; has a bit value of 1.
static Flags.FlagDELETED
Flag that indicates that the message has been marked for deletion and should be removed on a subsequent expunge operation; has a bit value of 2.
static Flags.FlagDRAFT
Flag that indicates that the message is a draft; has a bit value of 4.
static Flags.FlagFLAGGED
Flag that indicates that the message has been flagged; has a bit value of 8.
static Flags.FlagRECENT
Flag that indicates that the message has been delivered since the last time this folder was opened; has a bit value of 16.
static Flags.FlagSEEN
Flag that indicates that the message has been viewed; has a bit value of 32.
static Flags.FlagUSER
Flags that indicates if this folder supports user-defined flags; has a bit value of 0x80000000.

Field Detail

ANSWERED

public static final Flags.Flag ANSWERED
Flag that indicates that the message has been replied to; has a bit value of 1.

DELETED

public static final Flags.Flag DELETED
Flag that indicates that the message has been marked for deletion and should be removed on a subsequent expunge operation; has a bit value of 2.

DRAFT

public static final Flags.Flag DRAFT
Flag that indicates that the message is a draft; has a bit value of 4.

FLAGGED

public static final Flags.Flag FLAGGED
Flag that indicates that the message has been flagged; has a bit value of 8.

RECENT

public static final Flags.Flag RECENT
Flag that indicates that the message has been delivered since the last time this folder was opened; has a bit value of 16.

SEEN

public static final Flags.Flag SEEN
Flag that indicates that the message has been viewed; has a bit value of 32. This flag is set by the Message and Message methods.

USER

public static final Flags.Flag USER
Flags that indicates if this folder supports user-defined flags; has a bit value of 0x80000000.