PermissionCollection
Class PermissionCollection
- java.lang.Object
-
- java.security.PermissionCollection
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Permissions
public abstract class PermissionCollection extends Object implements Serializable
Abstract class representing a collection of Permission objects.
With a PermissionCollection, you can:
- add a permission to the collection using the
add
method. - check to see if a particular permission is implied in the collection, using the
implies
method. - enumerate all the permissions, using the
elements
method.