| Package | Description | 
|---|---|
| com.sun.mail.imap | An IMAP protocol provider for the JavaMail API
that provides access to an IMAP message store. | 
| javax.mail | The JavaMailTM API
provides classes that model a mail system. | 
| javax.mail.internet | Classes specific to Internet mail systems. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | IMAPMessage. isSet(Flags.Flag flag)Test if the given Flags are set in this message. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Flags.Flag | Flags.Flag. ANSWEREDThis message has been answered. | 
| static Flags.Flag | Flags.Flag. DELETEDThis message is marked deleted. | 
| static Flags.Flag | Flags.Flag. DRAFTThis message is a draft. | 
| static Flags.Flag | Flags.Flag. FLAGGEDThis message is flagged. | 
| static Flags.Flag | Flags.Flag. RECENTThis message is recent. | 
| static Flags.Flag | Flags.Flag. SEENThis message is seen. | 
| static Flags.Flag | Flags.Flag. USERA special flag that indicates that this folder supports
 user defined flags. | 
| Modifier and Type | Method and Description | 
|---|---|
| Flags.Flag[] | Flags. getSystemFlags()Return all the system flags in this Flags object. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Flags. add(Flags.Flag flag)Add the specified system flag to this Flags object. | 
| boolean | Flags. contains(Flags.Flag flag)Check whether the specified system flag is present in this Flags object. | 
| boolean | Message. isSet(Flags.Flag flag)Check whether the flag specified in the  flagargument is set in this message. | 
| void | Flags. remove(Flags.Flag flag)Remove the specified system flag from this Flags object. | 
| void | Message. setFlag(Flags.Flag flag,
       boolean set)Set the specified flag on this message to the specified value. | 
| Constructor and Description | 
|---|
| Flags(Flags.Flag flag)Construct a Flags object initialized with the given system flag. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | MimeMessage. isSet(Flags.Flag flag)Check whether the flag specified in the  flagargument is set in this message. | 
Copyright © 2017 JBoss by Red Hat. All rights reserved.