FileInfo QML Type
FileInfo provides commonly used file system operations. More...
|Import Statement:||import Esri.ArcGISExtras 1.1|
- baseName : string
- created : date
- exists : bool
- fileName : string
- filePath : string
- folder : FileFolder
- isFile : bool
- isFolder : bool
- isNativePath : bool
- isReadable : bool
- isSymLink : bool
- isWritable : bool
- lastModified : date
- path : string
- permissions : Permissions
- size : string
- suffix : string
- symLinkTarget : string
- url : url
FileInfo incorporates a QFileInfo and exposes its most useful properties.
Returns the name of the file without the path, up to but not including the first dot (read-only).
The file name, including the complete path, currently represented by this FileInfo.
true if the file system object pointed to by this FileInfo is a regular file or a symbolic link to a regular file (read-only).
false if the file system object pointed to is something other than a file, such as a folder.
true if the file pointed to by this FileInfo is a folder or a symbolic link to a folder (read-only).
false if the file system object pointed to is something other than a folder, such as a file.
true if the path can be used directly with native APIs (read-only).
false if the file is otherwise supported by a virtual file system inside Qt such as the Qt Resource System (read-only).
true if this object points to a symbolic link or to a Windows shortcut (read-only).
Returns the file path without the file name (read-only).
If this FileInfo object has a path ending in a slash, the name of the file is considered empty and this function will return the entire path.
Returns the file size in bytes as a numeric string (read-only).
If the file does not exist or is not accessible, the value of this property is "0".
Returns the substring of the file name after and not including the last dot (read-only).
Returns the absolute path to the file or folder that a symlink (or Windows shortcut) points to, or an empty string if the object is not a symbolic link. (Read-only)
Emitted when the permissions property changes.
Note: The corresponding handler is