Uses of Class
javax.mail.Flags
-
Packages that use Flags Package Description com.sun.mail.imap An IMAP protocol provider for the Jakarta Mail API that provides access to an IMAP message store.com.sun.mail.imap.protocol This package includes internal IMAP support classes and SHOULD NOT BE USED DIRECTLY BY APPLICATIONS.com.sun.mail.pop3 A POP3 protocol provider for the Jakarta Mail API that provides access to a POP3 message store.javax.mail The Jakarta Mail API provides classes that model a mail system.javax.mail.internet Classes specific to Internet mail systems.javax.mail.search Message search terms for the Jakarta Mail API. -
-
Uses of Flags in com.sun.mail.imap
Fields in com.sun.mail.imap declared as Flags Modifier and Type Field Description protected Flags
IMAPFolder. availableFlags
protected Flags
IMAPFolder. permanentFlags
Methods in com.sun.mail.imap that return Flags Modifier and Type Method Description Flags
IMAPMessage. getFlags()
Get the Flags for this message.Flags
IMAPFolder. getPermanentFlags()
Return the permanent flags supported by the server.Methods in com.sun.mail.imap with parameters of type Flags Modifier and Type Method Description void
IMAPFolder. setFlags(int[] msgnums, Flags flag, boolean value)
Set the specified flags for the given array of message numbers.void
IMAPFolder. setFlags(int start, int end, Flags flag, boolean value)
Set the specified flags for the given range of message numbers.void
IMAPFolder. setFlags(Message[] msgs, Flags flag, boolean value)
Set the specified flags for the given array of messages.void
IMAPMessage. setFlags(Flags flag, boolean set)
Set/Unset the given flags in this message.void
IMAPNestedMessage. setFlags(Flags flag, boolean set)
-
Uses of Flags in com.sun.mail.imap.protocol
Subclasses of Flags in com.sun.mail.imap.protocol Modifier and Type Class Description class
FLAGS
This classFields in com.sun.mail.imap.protocol declared as Flags Modifier and Type Field Description Flags
MailboxInfo. availableFlags
The available flags.Flags
MailboxInfo. permanentFlags
The permanent flags.Methods in com.sun.mail.imap.protocol that return Flags Modifier and Type Method Description Flags
IMAPProtocol. fetchFlags(int msgno)
Fetch the FLAGS for the given message.Methods in com.sun.mail.imap.protocol with parameters of type Flags Modifier and Type Method Description void
IMAPProtocol. append(java.lang.String mbox, Flags f, java.util.Date d, Literal data)
APPEND Command.AppendUID
IMAPProtocol. appenduid(java.lang.String mbox, Flags f, java.util.Date d, Literal data)
APPEND Command, return uid from APPENDUID response code.AppendUID
IMAPProtocol. appenduid(java.lang.String mbox, Flags f, java.util.Date d, Literal data, boolean uid)
protected java.lang.String
IMAPProtocol. createFlagList(Flags flags)
Creates an IMAP flag_list from the given Flags object.void
IMAPProtocol. storeFlags(int start, int end, Flags flags, boolean set)
void
IMAPProtocol. storeFlags(int msg, Flags flags, boolean set)
Set the specified flags on this message.void
IMAPProtocol. storeFlags(MessageSet[] msgsets, Flags flags, boolean set)
-
Uses of Flags in com.sun.mail.pop3
Methods in com.sun.mail.pop3 that return Flags Modifier and Type Method Description Flags
DefaultFolder. getPermanentFlags()
Flags
POP3Folder. getPermanentFlags()
Always returns an emptyFlags
object because the POP3 protocol doesn't support any permanent flags.Methods in com.sun.mail.pop3 with parameters of type Flags Modifier and Type Method Description void
POP3Message. setFlags(Flags newFlags, boolean set)
Set the specified flags on this message to the specified value. -
Uses of Flags in javax.mail
Methods in javax.mail that return Flags Modifier and Type Method Description abstract Flags
Message. getFlags()
Returns aFlags
object containing the flags for this message.abstract Flags
Folder. getPermanentFlags()
Get the permanent flags supported by this Folder.Methods in javax.mail with parameters of type Flags Modifier and Type Method Description void
Flags. add(Flags f)
Add all the flags in the given Flags object to this Flags object.boolean
Flags. contains(Flags f)
Check whether all the flags in the specified Flags object are present in this Flags object.void
Flags. remove(Flags f)
Remove all flags in the given Flags object from this Flags object.boolean
Flags. retainAll(Flags f)
Remove any flags not in the given Flags object.void
Folder. setFlags(int[] msgnums, Flags flag, boolean value)
Set the specified flags on the messages whose message numbers are in the array.void
Folder. setFlags(int start, int end, Flags flag, boolean value)
Set the specified flags on the messages numbered from start through end, both start and end inclusive.void
Folder. setFlags(Message[] msgs, Flags flag, boolean value)
Set the specified flags on the messages specified in the array.abstract void
Message. setFlags(Flags flag, boolean set)
Set the specified flags on this message to the specified value.Constructors in javax.mail with parameters of type Flags Constructor Description Flags(Flags flags)
Construct a Flags object initialized with the given flags. -
Uses of Flags in javax.mail.internet
Fields in javax.mail.internet declared as Flags Modifier and Type Field Description protected Flags
MimeMessage. flags
The Flags for this message.Methods in javax.mail.internet that return Flags Modifier and Type Method Description Flags
MimeMessage. getFlags()
Return aFlags
object containing the flags for this message.Methods in javax.mail.internet with parameters of type Flags Modifier and Type Method Description void
MimeMessage. setFlags(Flags flag, boolean set)
Set the flags for this message. -
Uses of Flags in javax.mail.search
Methods in javax.mail.search that return Flags Modifier and Type Method Description Flags
FlagTerm. getFlags()
Return the Flags to test.Constructors in javax.mail.search with parameters of type Flags Constructor Description FlagTerm(Flags flags, boolean set)
Constructor.
-