ProtectedconstructorOptionalisInternalConstructor: booleanStaticcopyMakes a copy of a file or a folder in the specified path.
StaticcreateCreates a folder at the specified path.
Full path to a full folder to create.
StaticensureCreates a folder at the specified path if it does not exist yet.
Full path to a full folder to create.
True if the directory exists or was created, false if the directory couldn't be created
StaticexistsReturns true if a file or a folder exists at the specified path.
Full path to a file or folder.
StaticgetReturns the path to the application data directory folder.
StaticgetStaticgetReturns the path to the data directory (Currently working directory on Windows, AppName.app/Contents/Resources/ on MacOS).
StaticgetStaticgetReturns the path to the currently running executable.
StaticgetStaticgetReturns the size of a file in bytes.
Full path to a file.
StaticgetReturns the path to the framework library directory.
StaticgetReturns the last modified time of a file or a folder at the specified path.
Full path to a file or a folder.
StaticgetReturns the path to a directory where temporary files may be stored.
StaticgetReturns the path to a user directory where we can write persistent files. ex: Library/Application Support on MacOS
StaticgetReturns the path to the current user system documents folder.
StaticgetReturns the path to the currently working directory.
StaticisReturns true if a folder exists at the specified path.
Full path to a file or folder.
StaticisReturns whether the given directory (if exists) is writable.
StaticisReturns true if a file exists at the specified path.
Full path to a file or folder.
StaticisStaticmoveMoves a file or a folder from one to another path. This can also be used as a rename operation.
StaticremoveDeletes a file or a folder at the specified path.
Full path to a file or a folder..
Optionalrecursively: boolean
(optional) If true, folders will have their contents deleted as well. Otherwise an exception will be thrown for non-empty folders.
True upon success.
StaticsetSets the read-only state of the file.
OptionalisRecursive: booleanStaticwriteWrites the text contents to the specified filePath.
StaticwriteWrites the text contents to the specified filePath.
OptionalseekToBeginning: booleanStaticwriteAsynchronously writes the text contents to the specified filePath.
OptionalseekToBeginning: boolean
Utility class for dealing with files.