public class MessageFlags extends Object
Reference: RFC 2060 - para 2.3
Modifier and Type | Field and Description |
---|---|
static javax.mail.Flags |
ALL_FLAGS |
static String |
ANSWERED_ALL_CAPS |
static String |
ANSWERED_OUTPUT_CAPITALISED |
static String |
DELETED_ALL_CAPS |
static String |
DELETED_OUTPUT_CAPITALISED |
static String |
DRAFT_ALL_CAPS |
static String |
DRAFT_OUTPUT_CAPITALISED |
static String |
FLAGGED_ALL_CAPS |
static String |
FLAGGED_OUTPUT_CAPITALISED |
static String |
RECENT_ALL_CAPS |
static String |
RECENT_OUTPUT_CAPITALISED |
static String |
SEEN_ALL_CAPS |
static String |
SEEN_OUTPUT_CAPITALISED |
static String |
USER_OUTPUT_CAPITALISED |
Constructor and Description |
---|
MessageFlags() |
Modifier and Type | Method and Description |
---|---|
static String |
format(javax.mail.Flags flags)
Returns IMAP formatted String of MessageFlags for named user
|
static Collection<String> |
names(javax.mail.Flags flags)
Returns IMAP formatted String naming flags.
|
public static final String SEEN_OUTPUT_CAPITALISED
public static final String RECENT_OUTPUT_CAPITALISED
public static final String FLAGGED_OUTPUT_CAPITALISED
public static final String DRAFT_OUTPUT_CAPITALISED
public static final String DELETED_OUTPUT_CAPITALISED
public static final String ANSWERED_OUTPUT_CAPITALISED
public static final String USER_OUTPUT_CAPITALISED
public static final javax.mail.Flags ALL_FLAGS
public static final String ANSWERED_ALL_CAPS
public static final String DELETED_ALL_CAPS
public static final String DRAFT_ALL_CAPS
public static final String FLAGGED_ALL_CAPS
public static final String SEEN_ALL_CAPS
public static final String RECENT_ALL_CAPS
public static Collection<String> names(javax.mail.Flags flags)
Collection
of String
's naming the
flags.public static String format(javax.mail.Flags flags)
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.