Most visited

Recently visited

Added in API level 1

FilePermission

public final class FilePermission
extends Permission implements Serializable

java.lang.Object
   ↳ java.security.Permission
     ↳ java.io.FilePermission


旧版安全代码; 不使用。

Summary

Public constructors

FilePermission(String path, String actions)

Public methods

String getActions()
boolean implies(Permission p)

Inherited methods

From class java.security.Permission
From class java.lang.Object
From interface java.security.Guard

Public constructors

FilePermission

Added in API level 1
FilePermission (String path, 
                String actions)

Parameters
path String
actions String

Public methods

getActions

Added in API level 1
String getActions ()

Returns
String

implies

Added in API level 1
boolean implies (Permission p)

Parameters
p Permission
Returns
boolean

Hooray!