Android
java.lang
public final class

java.lang.RuntimePermission

java.lang.Object
java.security.Permission Serializable Guard
java.security.BasicPermission Serializable
java.lang.RuntimePermission

RuntimePermission objects represent access to runtime support.

Summary

Public Constructors

            RuntimePermission(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.
Methods inherited from class java.security.BasicPermission
Methods inherited from class java.security.Permission
Methods inherited from class java.lang.Object
Methods inherited from interface java.security.Guard

Details

Public Constructors

public RuntimePermission(String permissionName)

Creates an instance of this class with the given name.

Parameters

permissionName String the name of the new permission.

public RuntimePermission(String name, String actions)

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.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48