play.api.libs.Files.TemporaryFile
See theTemporaryFile companion trait
Utilities to manage temporary files.
Attributes
-
Companion
-
trait
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Create a new temporary file.
Create a new temporary file.
Example:
val tempFile = TemporaryFile(prefix = "uploaded")
Value parameters
-
creator
-
the temporary file creator
-
prefix
-
The prefix used for the temporary file name.
-
suffix
-
The suffix used for the temporary file name.
Attributes
-
Returns
-
A temporary file instance.
-
Deprecated
-
true
Implicitly converts a TemporaryFile to a plain old java.nio.file.Path instance.
Implicitly converts a TemporaryFile to a plain old java.nio.file.Path instance.
Attributes