Overview | Methods | This Package | All Packages
Opens an existing file for read access only.
Syntax
public static File openRead( String path )
Parameters
path
The path of the file to open.
Return Value
Returns a File object for the opened file.
Exceptions
WinIOException thrown if an error occurs.
Remarks
This method is a convenient way of constructing a new File object with the FileMode.OPEN, FileAccess.READ, and FileShare.READ flags.