new File 中参数不够:
Creates a File object given a new or existing file.
Syntax
public File( String path, int mode, int access, int share) /////这个
public File( int handle )
public File( int handle, boolean owned )
Parameters
path
The path of the file to create or open.
mode
The mode used to open the file. Can be any value from the FileMode enumeration.
access
The access to the file. Can be any value from the FileAccess enumeration.
share
The share access that the file will support when opened. Can be any value from the FileShare enumeration.
handle
An existing file handle.
owned
specifies whether the File object owns the handle.
Exceptions
WinIOException thrown if an error occurs.