javax.mail
Class Flags.Flag

java.lang.Object
  extended by javax.mail.Flags.Flag
Enclosing class:
Flags

public static final class Flags.Flag
extends 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.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 Part.getInputStream() and Part.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.



Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.