public interface WindowsFiles extends Files
Modifier and Type | Method and Description |
---|---|
WindowsFileInfo |
stat(java.io.File file)
Returns basic information about the given file.
|
WindowsFileInfo stat(java.io.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 Files
file
- 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