This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


com.sun.mail.imap
class ACL

com.sun.mail.imap.ACL
All Implemented Interfaces:
Cloneable

public class ACL
extends Object
implements Cloneable

An access control list entry for a particular authentication identifier (user or group). Associates a set of Rights with the identifier. See RFC 2086.


Constructor Summary
ACL(String name)

          Construct an ACL entry for the given identifier and with no rights.
ACL(String name, Rights rights)

          Construct an ACL entry for the given identifier with the given rights.
 
Method Summary
 Object

          Clone this ACL entry.
 String

          Get the identifier name for this ACL entry.
 Rights

          Get the rights associated with this ACL entry.
 void
setRights(Rights rights)

          Set the rights associated with this ACL entry.
 

Constructor Detail

ACL

public ACL(String name)
Construct an ACL entry for the given identifier and with no rights.

Parameters:
name - the identifier name

ACL

public ACL(String name,
           Rights rights)
Construct an ACL entry for the given identifier with the given rights.

Parameters:
name - the identifier name
rights - the rights
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Clone this ACL entry.

Overrides:
clone in class Object
Throws:
CloneNotSupportedException

getName

public String getName()
Get the identifier name for this ACL entry.

Returns:
the identifier name

getRights

public Rights getRights()
Get the rights associated with this ACL entry. Returns the actual Rights object referenced by this ACL; modifications to the Rights object will effect this ACL.

Returns:
the rights

setRights

public void setRights(Rights rights)
Set the rights associated with this ACL entry.

Parameters:
rights - the rights


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention. The official Sun™ documentation can be found here at http://java.sun.com/products/javamail/javadocs/index.html.