Name
Class java.io.FilePermission
Synopsis
This class represents permission to read, write, delete, or execute files. The name encapsulated in this permission is the name of the file; the string “<<ALL_FILES>>” represents all files, while an asterisk represents all files in a directory and a hyphen represents all files that descend from a directory. The actions for this permission are read, write, execute, and delete.
Class Definition
public final class java.io.FilePermission extends java.security.Permission implements java.io.Serializable { // Constructors public FilePermission(String, String); // Instance Methods public boolean equals(Object); public String getActions(); public int hashCode(); public boolean implies(Permission); public PermissionCollection newPermissionCollection(); }
See also:
Permission
Get Java Security now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.