API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util. PropertyPermission View Source
Author(s)
Roland Schemers
Since
1.2
Version
1.35 06/04/21
Serial
exclude
Hierarchy
 Object
      Permission
          BasicPermission
              PropertyPermission
Implements
Subclasses
Description
publicfinal class PropertyPermission
  This class is for property permissions.
Constructors
public PropertyPermission (String name, String actions)
  Creates a new PropertyPermission object with the specified name.
Methods
Hide/Show inherited methods
public void checkGuard (Object object) throws SecurityException [Inherited From Permission]
  Implements the guard interface for a permission.
public boolean equals (Object obj) [Overrides BasicPermission] [Specified in Permission]
  Checks two PropertyPermission objects for equality.
public String getActions () [Overrides BasicPermission] [Specified in Permission]
  Returns the "canonical string representation" of the actions.
pack-privatestatic String getActions (int mask)
  Return the canonical string representation of the actions.
pack-private int getMask ()
  Return the current action mask.
publicfinal String getName () [Inherited From Permission]
  Returns the name of this Permission.
public int hashCode () [Overrides BasicPermission] [Specified in Permission]
  Returns the hash code value for this object.
public boolean implies (Permission p) [Overrides BasicPermission] [Specified in Permission]
  Checks if this PropertyPermission object "implies" the specified permission.
public PermissionCollection newPermissionCollection () [Overrides BasicPermission]
  Returns a new PermissionCollection object for storing PropertyPermission objects.
public String toString () [Inherited From Permission]
  Returns a string describing this Permission.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar