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.


Constructor Index

 o PermissionImpl(String)

Method Index

 o equals(Object)
Returns true if the object passed matches the permission represented in this interface.
 o toString()
Prints a string representation of this permission.

Constructors

 o PermissionImpl
 public PermissionImpl(String p)

Methods

 o 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
 o 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