Example usage for Java java.security Permissions fields, constructors, methods, implement or subclass
The text is from its open source code.
Permissions() Creates a new Permissions object containing no PermissionCollections. |
void | add(Permission permission) Adds a permission object to the PermissionCollection for the class the permission belongs to. |
Enumeration | elements() Returns an enumeration of all the Permission objects in all the PermissionCollections in this Permissions object. |
boolean | implies(Permission permission) Checks to see if this object's PermissionCollection for permissions of the specified permission's class implies the permissions expressed in the permission object. |