StaticappendThe path of the file to append
The content to append
true if the content was appended successfully
StaticcopyStaticcopypath to the file to be copied
path to the destination file
enables additional information
true if the folder was copied successfully
StaticdeleteStaticdeleteStaticdeleteDeletes a folder and its contents.
File object or path to the folder
true if both the contents and the folder could be deleted
StaticdeleteDeletes the contents of a folder.
File object or path to the folder
true if the content of the folder could be deleted
StaticgetStaticgetbase path
the extension of the given path.
StaticgetThe files inside the given folder that respects the given pattern.
File object or path to the base folder
Pattern to match
If true, search recursively inside the folder
the files inside the given folder that respects the given pattern.
StaticgetStaticgetStaticgetStaticgetStaticgetStaticgetStaticgetIf folderName is undefined, returns the OS temporary folder. If defined, creates a new folder inside the system's temporary folder and returns it.
OptionalfolderName: stringOptional name for the temporaray folder
the OS temporary folder or the created folder
StaticgetStaticistrue if and only if the file denoted by this abstract pathname exists and is a normal file; false otherwise
Staticistrue if and only if the file denoted by this abstract pathname exists and is a folder; false otherwise
StaticisStaticjsonStaticmd5StaticmkdirStaticnewStaticreadThe path of the file to read.
The contents of the file.
StaticreadStaticreadStaticremovebase path
the given path, without extension.
StaticwriteStaticwrite
Utility methods related with input/output operations on files.