- createDirectories
Create the directory and all required parent directories.
- createDirectory
Create a directory (all required parent directories must already exist). This
method is similar to J
- createTempFile
Create a new temporary file.
- delete
Delete a file or directory if it exists. Directories may only be deleted if they
are empty. This met
- deleteRecursive
Delete a directory or file and all subdirectories and files.
- exists
Checks if a file exists. This method is similar to Java 7
java.nio.file.Path.exists.
- getName
Get the file or directory name (the last element of the path). This method is
similar to Java 7 java
- getParent
Get the parent directory of a file or directory. This method returns null if
there is no parent. Thi
- isDirectory
Check if it is a file or a directory.java.nio.file.attribute.Attributes.
readBasicFileAttributes(fil
- move
Rename a file if this is allowed. This method is similar to Java 7
java.nio.file.Files.move.
- newDirectoryStream
List the files and directories in the given directory. This method is similar to
Java 7java.nio.file
- newOutputStream
Create an output stream to write into the file. This method is similar to Java 7
java.nio.file.Path.