ProtectedconstructorOptionalisInternalConstructor: booleanStaticcopyStaticcreateCreates 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.
StaticgetStaticgetReads all text from the specified filePath.
StaticgetStaticgetReturns all diretories in the specified folder.
The root folder to search.
If false then only the direct children of the provided folder will be return, otherwise also includes entries from subfolders.
A list of all files.
StaticgetStaticgetReturns all files in the specified folder.
The root folder to search.
If false then only the direct children of the provided folder will be return, otherwise also includes entries from subfolders.
A list of all files.
StaticgetReturns the size of a file in bytes.
Full path to a file.
StaticgetStaticgetReturns the last modified time of a file or a folder at the specified path.
Full path to a file or a folder.
StaticgetStaticgetStaticgetStaticgetStaticisReturns 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.
StaticmoveStaticremoveDeletes 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.
StaticwriteWrites the text contents to the specified filePath.
StaticwriteWrites the text contents to the specified filePath.
OptionalseekToBeginning: boolean
Utility class for dealing with files.