play.api.libs.Files.DefaultTemporaryFileCreator
Move the file using a java.nio.file.Path.
Move the file using a java.nio.file.Path.
the path to the destination file
true if an existing file should be replaced, false otherwise.
Move the file using a java.io.File.
Move the file using a java.io.File.
the path to the destination file
true if an existing file should be replaced, false otherwise.
A temporary file hold a reference to a real path, and will delete it when the reference is garbage collected.