Microsoft SDK for Java

canRead

This method of the UserFileIOPermission Class determines whether the object allows user-directed file I/O for reading files.

Syntax

public boolean canRead();

Return Value

Returns true if the object has permission to read; otherwise, returns false.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.