API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. Permissions View Source
Author(s)
Marianne Mueller
Roland Schemers
Since
Version
1.61, 05/11/17
Serial
exclude
Hierarchy
 Object
      PermissionCollection
          Permissions
Implements
 Serializable
Subclasses
Description
publicfinal class Permissions
  This class represents a heterogeneous collection of Permissions.
Constructors
public Permissions ()
Creates a new Permissions object containing no PermissionCollections.
Methods
Hide/Show inherited methods
public void add (Permission permission) [Specified in PermissionCollection]
  Adds a permission object to the PermissionCollection for the class the permission belongs to.
public Enumeration<Permission> elements () [Specified in PermissionCollection]
  Returns an enumeration of all the Permission objects in all the PermissionCollections in this Permissions object.
public boolean implies (Permission permission) [Specified in PermissionCollection]
  Checks to see if this object's PermissionCollection for permissions of the specified permission's class implies the permissions expressed in the permission object.
public boolean isReadOnly () [Inherited From PermissionCollection]
  Returns true if this PermissionCollection object is marked as readonly.
public void setReadOnly () [Inherited From PermissionCollection]
  Marks this PermissionCollection object as "readonly".
public String toString () [Inherited From PermissionCollection]
  Returns a string describing this PermissionCollection object, providing information about all the permissions it contains.
Fields
Hide/Show inherited fields
pack-private PermissionCollection allPermission
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar