Package | Description |
---|---|
javax.mail |
The JavaMailTM 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 JavaMail API.
|
Modifier and Type | Method and Description |
---|---|
abstract Flags |
Message.getFlags()
Returns a
Flags object containing the flags for
this message. |
abstract Flags |
Folder.getPermanentFlags()
Get the permanent flags supported by this Folder.
|
Modifier and Type | Method and 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.
|
abstract void |
Message.setFlags(Flags flag,
boolean set)
Set the specified flags on this message to the specified value.
|
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.
|
Constructor and Description |
---|
Flags(Flags flags)
Construct a Flags object initialized with the given flags.
|
Modifier and Type | Field and Description |
---|---|
protected Flags |
MimeMessage.flags
The Flags for this message.
|
Modifier and Type | Method and Description |
---|---|
Flags |
MimeMessage.getFlags()
Return a
Flags object containing the flags for
this message. |
Modifier and Type | Method and Description |
---|---|
void |
MimeMessage.setFlags(Flags flag,
boolean set)
Set the flags for this message.
|
Modifier and Type | Method and Description |
---|---|
Flags |
FlagTerm.getFlags()
Return the Flags to test.
|
Constructor and Description |
---|
FlagTerm(Flags flags,
boolean set)
Constructor.
|
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.