com.sun.mail.imap
类 ACL

java.lang.Object
  继承者 com.sun.mail.imap.ACL
所有已实现的接口:
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.

作者:
Bill Shannon

构造方法摘要
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.
 
方法摘要
 Object clone()
          Clone this ACL entry.
 String getName()
          Get the identifier name for this ACL entry.
 Rights getRights()
          Get the rights associated with this ACL entry.
 void setRights(Rights rights)
          Set the rights associated with this ACL entry.
 
从类 java.lang.Object 继承的方法
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ACL

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

参数:
name - the identifier name

ACL

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

参数:
name - the identifier name
rights - the rights
方法详细信息

getName

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

返回:
the identifier name

setRights

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

参数:
rights - the rights

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.

返回:
the rights

clone

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

覆盖:
Object 中的 clone
抛出:
CloneNotSupportedException


Copyright © 2013. All Rights Reserved.