Flags.Flag (Java EE 5)

Java EE API


javax.mail Class Flags.Flag

java.lang.Object
  extended by javax.mail.Flags.Flag
Enclosing class:
Flags

public static final class Flags.Flag
extends Object

Contained within: Flags

此内部类表示单独的系统标志。此处预定义了一组标准的系统标志对象。
英文文档:

This inner class represents an individual system flag. A set of standard system flag objects are predefined here.


Field Summary
static Flags.Flag
static Flags.Flag
static Flags.Flag
static Flags.Flag
static Flags.Flag
static Flags.Flag
static Flags.Flag
 
Method Summary
 
Methods inherited from class java.lang.Object
 

Field Detail

英文文档:

ANSWERED

public static final Flags.Flag ANSWERED
This message has been answered. This flag is set by clients to indicate that this message has been answered to.


英文文档:

DELETED

public static final Flags.Flag DELETED
This message is marked deleted. Clients set this flag to mark a message as deleted. The expunge operation on a folder removes all messages in that folder that are marked for deletion.


英文文档:

DRAFT

public static final Flags.Flag DRAFT
This message is a draft. This flag is set by clients to indicate that the message is a draft message.


英文文档:

FLAGGED

public static final Flags.Flag FLAGGED
This message is flagged. No semantic is defined for this flag. Clients alter this flag.


英文文档:

RECENT

public static final Flags.Flag RECENT
This message is recent. Folder implementations set this flag to indicate that this message is new to this folder, that is, it has arrived since the last time this folder was opened.

Clients cannot alter this flag.


英文文档:

SEEN

public static final Flags.Flag SEEN
This message is seen. This flag is implicitly set by the implementation when the this Message's content is returned to the client in some form. The getInputStream and getContent methods on Message cause this flag to be set.

Clients can alter this flag.


英文文档:

USER

public static final Flags.Flag USER
A special flag that indicates that this folder supports user defined flags.

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).



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!