The renameTo() method renames this file or directory in the specified path names. The target file may not already exist. Renaming is only possible within a file system.
Special features of the DMS file system
It is not possible to rename directories. Files can only be renamed if the same catalog ID and user ID are used.
The delete() method deletes this file or directory in the associated file system. If the path name designates a directory, this can only be deleted if it is empty.
Special features of the DMS file system
Directories cannot be deleted.
The deleteOnExit() method ensures that this file or directory is deleted in the associated file system when the application is terminated. Deletions are only performed if the application terminates normally.
Special features of the DMS file system
Directories cannot be deleted.