lightbulb_outline Please take our October 2018 developer survey. Start survey
added in API level 1

FilePermission

public final class FilePermission
extends Permission implements Serializable

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


Legacy security code; do not use.

Summary

Public constructors

FilePermission(String path, String actions)

Public methods

String getActions()
boolean implies(Permission p)

Inherited methods

Public constructors

FilePermission

added in API level 1
public FilePermission (String path, 
                String actions)

Parameters
path String

actions String

Public methods

getActions

added in API level 1
public String getActions ()

Returns
String

implies

added in API level 1
public boolean implies (Permission p)

Parameters
p Permission

Returns
boolean