Package com.sun.mail.imap
Class ACL
- java.lang.Object
-
- com.sun.mail.imap.ACL
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Constructor Detail
-
ACL
public ACL(String name)
Construct an ACL entry for the given identifier and with no rights.- Parameters:
name
- the identifier name
-
-
Method Detail
-
getName
public String getName()
Get the identifier name for this ACL entry.- Returns:
- the identifier name
-
setRights
public void setRights(Rights rights)
Set the rights associated with this ACL entry.- Parameters:
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.- Returns:
- the rights
-
clone
public Object clone() throws CloneNotSupportedException
Clone this ACL entry.- Throws:
CloneNotSupportedException
-
-