Public final class Filepermission extends permission implements Serializable
Constructor | Description |
---|---|
FilePermission(String path, String actions) | This constructor creates a new FilePermission object with the specified actions. |
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. |