public static final class

Rights.Right

extends Object
java.lang.Object
   ↳ com.google.code.com.sun.mail.imap.Rights.Right

Class Overview

This inner class represents an individual right. A set of standard rights objects are predefined here.

Summary

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

Fields

public static final Rights.Right ADMINISTER

Administer - perform SETACL.

public static final Rights.Right CREATE

Create - CREATE new sub-mailboxes in any implementation-defined hierarchy, RENAME or DELETE mailbox.

public static final Rights.Right DELETE

Delete - STORE \DELETED flag, perform EXPUNGE.

public static final Rights.Right INSERT

Insert - perform APPEND, COPY into mailbox.

public static final Rights.Right KEEP_SEEN

Keep seen/unseen information across sessions - STORE \SEEN flag.

public static final Rights.Right LOOKUP

Lookup - mailbox is visible to LIST/LSUB commands.

public static final Rights.Right POST

Post - send mail to submission address for mailbox, not enforced by IMAP4 itself.

public static final Rights.Right READ

Read - SELECT the mailbox, perform CHECK, FETCH, PARTIAL, SEARCH, COPY from mailbox

public static final Rights.Right WRITE

Write - STORE flags other than \SEEN and \DELETED.

private static Right[] cache

char right

Public Methods

public static synchronized Rights.Right getInstance (char right)

Get a Right object representing the specified character. Characters are assigned per RFC 2086.

Parameters
right

public String toString ()