public static final class Rights.Right
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Rights.Right |
ADMINISTER
Administer - perform SETACL.
|
private static Rights.Right[] |
cache |
static Rights.Right |
CREATE
Create - CREATE new sub-mailboxes in any implementation-defined
hierarchy, RENAME or DELETE mailbox.
|
static Rights.Right |
DELETE
Delete - STORE \DELETED flag, perform EXPUNGE.
|
static Rights.Right |
INSERT
Insert - perform APPEND, COPY into mailbox.
|
static Rights.Right |
KEEP_SEEN
Keep seen/unseen information across sessions - STORE \SEEN flag.
|
static Rights.Right |
LOOKUP
Lookup - mailbox is visible to LIST/LSUB commands.
|
static Rights.Right |
POST
Post - send mail to submission address for mailbox,
not enforced by IMAP4 itself.
|
static Rights.Right |
READ
Read - SELECT the mailbox, perform CHECK, FETCH, PARTIAL,
SEARCH, COPY from mailbox
|
(package private) char |
right |
static Rights.Right |
WRITE
Write - STORE flags other than \SEEN and \DELETED.
|
Modifier | Constructor and Description |
---|---|
private |
Right(char right)
Private constructor used only by getInstance.
|
Modifier and Type | Method and Description |
---|---|
static Rights.Right |
getInstance(char right)
Get a Right object representing the specified character.
|
java.lang.String |
toString() |
private static Rights.Right[] cache
public static final Rights.Right LOOKUP
public static final Rights.Right READ
public static final Rights.Right KEEP_SEEN
public static final Rights.Right WRITE
public static final Rights.Right INSERT
public static final Rights.Right POST
public static final Rights.Right CREATE
public static final Rights.Right DELETE
public static final Rights.Right ADMINISTER
char right
public static Rights.Right getInstance(char right)
right
- the character representing the rightpublic java.lang.String toString()
toString
in class java.lang.Object