API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. Permission View Source
Author(s)
Marianne Mueller
Roland Schemers
Since
Version
1.40 05/11/17
Serial
Hierarchy
 Object
      Permission
Implements
 Guard
 Serializable
Subclasses
Description
publicabstract abstract class Permission
  Abstract class for representing access to a system resource.
Constructors
public Permission (String name)
  Constructs a permission with the specified name.
Methods
Hide/Show inherited methods
public void checkGuard (Object object) throws SecurityException [Specified in Guard]
  Implements the guard interface for a permission.
publicabstract boolean equals (Object obj)
  Checks two Permission objects for equality.
publicabstract String getActions ()
  Returns the actions as a String.
publicfinal String getName ()
  Returns the name of this Permission.
publicabstract int hashCode ()
  Returns the hash code value for this Permission object.
publicabstract boolean implies (Permission permission)
  Checks if the specified permission's actions are "implied by" this object's actions.
public PermissionCollection newPermissionCollection ()
  Returns an empty PermissionCollection for a given Permission object, or null if one is not defined.
public String toString ()
  Returns a string describing this Permission.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar