Creates this directory, if it does not exist.
Creates this directory, if it does not exist. Also creates any ancestor directories which do not exist. This method does nothing if the directory already exists.
directory path
FileSystemException
If the directoryalready exists with the wrong type, or the parent
directory is read-only, or on error creating this folder or one of
its ancestors.
Creates this file, if it does not exist.
Creates this file, if it does not exist. Also creates any ancestor folders which do not exist. This method does nothing if the file already exists and is a file.
file path
FileSystemException
If the file already exists with the wrong type, or the parent
folder is read-only, or on error creating this file or one of
its ancestors.
Deletes this file.
Deletes this file. Does nothing if this file does not exist of if it is a directory that has children. Does not delete any descendents of this file.
true if this object has been deleted
FileSystemException
If this file is a non-empty directory, or if this file is read-only,
or on error deleting this file.