API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. PermissionCollection View Source
Author(s)
Roland Schemers
Since
Version
1.36 05/11/17
Serial
Hierarchy
 Object
      PermissionCollection
Implements
 Serializable
Subclasses
Description
publicabstract abstract class PermissionCollection
  Abstract class representing a collection of Permission objects.
See also:    Permission Permissions
Constructors
public PermissionCollection ()
Methods
Hide/Show inherited methods
publicabstract void add (Permission permission)
  Adds a permission object to the current collection of permission objects.
publicabstract Enumeration<Permission> elements ()
  Returns an enumeration of all the Permission objects in the collection.
publicabstract boolean implies (Permission permission)
  Checks to see if the specified permission is implied by the collection of Permission objects held in this PermissionCollection.
public boolean isReadOnly ()
  Returns true if this PermissionCollection object is marked as readonly.
public void setReadOnly ()
  Marks this PermissionCollection object as "readonly".
public String toString ()
  Returns a string describing this PermissionCollection object, providing information about all the permissions it contains.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar