public final class

RuntimePermission

extends BasicPermission
java.lang.Object
   ↳ java.security.Permission
     ↳ java.security.BasicPermission
       ↳ java.lang.RuntimePermission

Class Overview

Represents the permission to execute a runtime-related function. There is no action list associated with a RuntimePermission; the user either has the permission or he doesn't.

Summary

Public Constructors
RuntimePermission(String permissionName)
Creates an instance of RuntimePermission with the specified name.
RuntimePermission(String name, String actions)
Creates an instance of RuntimePermission with the specified name and action list.
[Expand]
Inherited Methods
From class java.security.BasicPermission
From class java.security.Permission
From class java.lang.Object
From interface java.security.Guard

Public Constructors

public RuntimePermission (String permissionName)

Since: API Level 1

Creates an instance of RuntimePermission with the specified name.

Parameters
permissionName the name of the new permission.

public RuntimePermission (String name, String actions)

Since: API Level 1

Creates an instance of RuntimePermission with the specified name and action list. The action list is ignored.

Parameters
name the name of the new permission.
actions ignored.