This method of the UserFileIOPermission Class determines whether the object allows user-directed file I/O for reading files.
public boolean canRead();
Returns true if the object has permission to read; otherwise, returns false.