Introduction
Declaration Public final class Filepermission extends permission implements Serializable
Table | Constructor | Description |
|---|---|
| FilePermission(String path, String actions) | This constructor creates a new FilePermission object with the specified actions. |
Table | Method | Description |
|---|---|
| boolean equals(Object obj) | For equality this method checks two FilepPermission objects. |
| int hashCode() | This method returns the hash code value for FilePermission object. |
| String getActions() | The "canonical string representation" of the actions returned by this method. |
| boolean implies(Permission p) | This method tests that the FilePermission object "implies" the specified permission ‘p’. |
| PermissionCollection newPermissionCollection() | For storing FilePermission objects This method returns a new PermissionCollection object. |
Description
Examples
Key Points