javax.mail

Class Flags.Flag

Enclosing Class:
Flags

public static final class Flags.Flag
extends java.lang.Object

Field Summary

static Flags.Flag
ANSWERED
Flag that indicates that the message has been replied to; has a bit value of 1.
static 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.
static Flags.Flag
DRAFT
Flag that indicates that the message is a draft; has a bit value of 4.
static Flags.Flag
FLAGGED
Flag that indicates that the message has been flagged; has a bit value of 8.
static 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.
static Flags.Flag
SEEN
Flag that indicates that the message has been viewed; has a bit value of 32.
static Flags.Flag
USER
Flags that indicates if this folder supports user-defined flags; has a bit value of 0x80000000.

Field Details

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.getInputStream() and Message.getContent() methods.

USER

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