Files, NativeIntegrationDefaultWindowsFilespublic interface WindowsFiles extends Files
| Modifier and Type | Method | Description |
|---|---|---|
WindowsFileInfo |
stat(File file) |
Returns basic information about the given file.
|
WindowsFileInfo stat(File file) throws NativeException
When the file references a symlink, details about the symlink is returned, not the target of the symlink.
stat in interface Filesfile - The path of the file to get details of. Follows symlinks to the parent directory of this file.FileInfo.Type.Missing for a file that does not
exist.NativeException - On failure to query the file information.FilePermissionException - When the user has insufficient permissions to query the file information