Introduction
The java.lang.RuntimePermission class is for runtime permissions. A RuntimePermission contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't.Class declaration
Following is the declaration for java.lang.RuntimePermission class:public final class RuntimePermission extends BasicPermission
Class constructors
S.N. | Constructor & Description |
---|---|
1 |
RuntimePermission(String name) This constructs a new RuntimePermission with the specified name. |
2 |
RuntimePermission(String name, String actions) This constructs a new RuntimePermission object with the specified name.. |
Class Methods
This class inherits methods from the following class:- java.lang.BasicPermission
- java.lang.Permission
- java.lang.Object
No comments:
Post a Comment