Static
appendThe path of the file to append
The content to append
true if the content was appended successfully
Static
copyStatic
copypath to the file to be copied
path to the destination file
enables additional information
true if the folder was copied successfully
Static
deleteStatic
deleteStatic
deleteDeletes a folder and its contents.
File object or path to the folder
true if both the contents and the folder could be deleted
Static
deleteDeletes the contents of a folder.
File object or path to the folder
true if the content of the folder could be deleted
Static
getStatic
getbase path
the extension of the given path.
Static
getThe 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.
Static
getStatic
getStatic
getStatic
getStatic
getStatic
getStatic
getIf folderName is undefined, returns the OS temporary folder. If defined, creates a new folder inside the system's temporary folder and returns it.
Optional
folderName: stringOptional name for the temporaray folder
the OS temporary folder or the created folder
Static
getStatic
istrue if and only if the file denoted by this abstract pathname exists and is a normal file; false otherwise
Static
istrue if and only if the file denoted by this abstract pathname exists and is a folder; false otherwise
Static
isStatic
jsonStatic
md5Static
mkdirStatic
newStatic
readThe path of the file to read.
The contents of the file.
Static
readStatic
readStatic
removebase path
the given path, without extension.
Static
writeStatic
write
Utility methods related with input/output operations on files.