This method of the UserFileIOPermission Class retrieves the access types allowed by the permission object.
public int getAccessFlags();
Returns the access flag represented by the permission object, which will be READ, WRITE, or READWRITE.