java.lang.Object
java.security.Permission
java.security.BasicPermission
java.lang.RuntimePermission
- All Implemented Interfaces:
Serializable
,Guard
RuntimePermission objects represent access to runtime
support.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRuntimePermission
(String permissionName) Creates an instance of this class with the given name.RuntimePermission
(String name, String actions) Creates an instance of this class with the given name and action list. -
Method Summary
Methods declared in class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
Methods declared in class java.security.Permission
checkGuard, getName, toString
-
Constructor Details
-
RuntimePermission
Creates an instance of this class with the given name.- Parameters:
permissionName
- String the name of the new permission.
-
RuntimePermission
Creates an instance of this class with the given name and action list. The action list is ignored.- Parameters:
name
- String the name of the new permission.actions
- String ignored.
-