Package | Description |
---|---|
javax.mail | |
javax.mail.internet | |
javax.mail.search |
Modifier and Type | Method and Description |
---|---|
abstract Flags |
Message.getFlags()
Return a copy the flags associated with this message.
|
abstract Flags |
Folder.getPermanentFlags()
Get the flags supported by this folder.
|
Modifier and Type | Method and Description |
---|---|
void |
Flags.add(Flags flags)
Set all system and user flags from the supplied Flags.
|
boolean |
Flags.contains(Flags flags)
See if all of the supplied Flags are set
|
void |
Flags.remove(Flags flags)
Unset all flags from the supplied instance.
|
abstract void |
Message.setFlags(Flags flags,
boolean set)
Set the flags specified to the supplied value; flags not included in the
supplied
Flags parameter are not affected. |
void |
Folder.setFlags(int[] ids,
Flags flags,
boolean value)
Set flags on a set of messages to the supplied value.
|
void |
Folder.setFlags(int start,
int end,
Flags flags,
boolean value)
Set flags on a range of messages to the supplied value.
|
void |
Folder.setFlags(Message[] messages,
Flags flags,
boolean value)
Set flags on the messages to the supplied value; all messages must belong to this folder.
|
Constructor and Description |
---|
Flags(Flags flags)
Construct a Flags instance with a same flags set.
|
Modifier and Type | Field and Description |
---|---|
protected Flags |
MimeMessage.flags
This message's flags.
|
Modifier and Type | Method and Description |
---|---|
Flags |
MimeMessage.getFlags()
Return a copy the flags associated with this message.
|
Modifier and Type | Method and Description |
---|---|
void |
MimeMessage.setFlags(Flags flag,
boolean set)
Set or clear a flag value.
|
Modifier and Type | Field and Description |
---|---|
protected Flags |
FlagTerm.flags
The flags to test.
|
Modifier and Type | Method and Description |
---|---|
Flags |
FlagTerm.getFlags() |
Constructor and Description |
---|
FlagTerm(Flags flags,
boolean set) |
Copyright © 2013. All rights reserved.