|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.mail.Flags.Flag
public static final class Flags.Flag
This inner class represents an individual system flag. A set of standard system flag objects are predefined here.
Field Summary | |
---|---|
static Flags.Flag |
ANSWERED
This message has been answered. |
static Flags.Flag |
DELETED
This message is marked deleted. |
static Flags.Flag |
DRAFT
This message is a draft. |
static Flags.Flag |
FLAGGED
This message is flagged. |
static Flags.Flag |
RECENT
This message is recent. |
static Flags.Flag |
SEEN
This message is seen. |
static Flags.Flag |
USER
A special flag that indicates that this folder supports user defined flags. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Clients cannot alter this flag.
public static final Flags.Flag SEEN
getInputStream
and getContent
methods on Message cause this
flag to be set. Clients can alter this flag.
public static final Flags.Flag USER
The implementation sets this flag. Clients cannot alter
this flag but can use it to determine if a folder supports
user defined flags by using
folder.getPermanentFlags().contains(Flags.Flag.USER)
.
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.