Name

Flags.Flag

Synopsis

The Flags.Flag class defines a set of message flags that can be used by the Flags object. Messaging implementations are generally expected to support these flags. The USER flag indicates that the folder that returned these flags supports user defined flags.

public static final class Flags.Flag {
// No Constructor
                  // Public Constants
   public static final Flags.Flag ANSWERED;  
   public static final Flags.Flag DELETED;  
   public static final Flags.Flag DRAFT;  
   public static final Flags.Flag FLAGGED;  
   public static final Flags.Flag RECENT;  
   public static final Flags.Flag SEEN;  
   public static final Flags.Flag USER;  
}

Passed To

Flags.{add(), contains(), Flags(), remove()}, javax.mail.Message.{isSet(), setFlag()}, javax.mail.internet.MimeMessage.isSet()

Returned By

Flags.getSystemFlags()

Type Of

Flags.Flag.{ANSWERED, DELETED, DRAFT, FLAGGED, RECENT, SEEN, USER}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.