All Packages Class Hierarchy This Package Previous Next Index
Class ajanta.security.acl.PermissionImpl
java.lang.Object
|
+----ajanta.security.acl.PermissionImpl
- public class PermissionImpl
- extends Object
- implements Permission, Serializable
PermissionImpl implements java.acl.Permission interface.
This interface represents a permission, such as that used
to grant a particular type of access to a resource.
-
PermissionImpl(String)
-
-
equals(Object)
- Returns true if the object passed matches the permission represented in
this interface.
-
toString()
-
Prints a string representation of this permission.
PermissionImpl
public PermissionImpl(String p)
toString
public String toString()
- Prints a string representation of this permission.
permission is case insensitive
- Returns:
- the string representation of the permission in Upper Case.
- Overrides:
- toString in class Object
equals
public boolean equals(Object another)
- Returns true if the object passed matches the permission represented in
this interface.
- Parameters:
- another - - the Permission object to compare with.
- Returns:
- true if the Permission objects are equal, false otherwise
- Overrides:
- equals in class Object
All Packages Class Hierarchy This Package Previous Next Index