public class ACL
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
ACL(java.lang.String name)
Construct an ACL entry for the given identifier and with no rights.
|
ACL(java.lang.String name,
Rights rights)
Construct an ACL entry for the given identifier with the given rights.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone this ACL entry.
|
java.lang.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.
|
public ACL(java.lang.String name)
name
- the identifier namepublic ACL(java.lang.String name, Rights rights)
name
- the identifier namerights
- the rightspublic java.lang.String getName()
public void setRights(Rights rights)
rights
- the rightspublic Rights getRights()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
Copyright © 2010 - 2020 Adobe. All Rights Reserved