A temporary file hold a reference to a real file, and will delete it when the reference is garbaged.
Utilities to manage temporary files.
Copy a file.
Copy a file.
(Since version 2.3) Use Java 7 Files API instead
Creates a directory.
Creates a directory.
the directory to create
(Since version 2.3) Use Java 7 Files API instead
Rename a file.
Rename a file.
(Since version 2.3) Use Java 7 Files API instead
Reads a file’s contents into a String.
Reads a file’s contents into a String.
the file to read.
the file contents
(Since version 2.3) Use Java 7 Files API instead
Write a file’s contents as a String
.
Write a file’s contents as a String
.
the file to write to
the contents to write
(Since version 2.3) Use Java 7 Files API instead
Writes a file’s content as String, only touching the file if the actual file content is different.
Writes a file’s content as String, only touching the file if the actual file content is different.
the file to write to
the contents to write
(Since version 2.3) Use Java 7 Files API instead
FileSystem utilities.