Create a new temporary directory which is optionally registered to be deleted upon the exit of the VM.
Create a new temporary directory which is optionally registered to be deleted upon the exit of the VM.
Whether to register a JVM shutdown hook to delete the directory.
File representing the directory.