PropertyPermission class methods in Java

java.util.PropertyPermission

This class is for property permissions.

The naming convention follows the hierarchical property naming convention.

Some methods of PropertyPermission class


checkGuard(Object)This method implements the guard interface for permission.


equals(Object) This method checks two PropertyPermission objects for equality. 


getActions()This method returns the "canonical string representation" of the actions. 


getName()This method returns the name of this Permission.


hashCode()This method returns the hash code value for this object.


implies(Permission) This method checks if this PropertyPermission object "implies" the specified permission.


newPermissionCollection()This method returns a new PermissionCollection object for storing PropertyPermission objects.


toString()This method returns a string describing this Permission.


No comments:

Post a Comment