SingletonTemporaryFileCreator
play.api.libs.Files.SingletonTemporaryFileCreator
object SingletonTemporaryFileCreator extends TemporaryFileCreator
Creates temporary folders using java.nio.file.Files.createTempFile.
Files created by this method will not be cleaned up with the application or JVM stops.
Attributes
- Graph
-
- Supertypes
- Self type
Members list
Type members
Classlikes
class SingletonTemporaryFile extends TemporaryFile
Attributes
- Supertypes
Value members
Concrete methods
Creates a temporary file.
Creates a temporary file.
Value parameters
- prefix
-
the prefix of the file.
- suffix
-
the suffix of the file
Attributes
- Returns
-
the newly created temporary file.
- Definition Classes
Creates a temporary file from an already existing file.
Creates a temporary file from an already existing file.
Value parameters
- path
-
the existing temp file path
Attributes
- Returns
-
a Temporary file wrapping the existing file.
- Definition Classes
Deletes the temporary file.
Deletes the temporary file.
Value parameters
- file
-
the temporary file to be deleted.
Attributes
- Returns
-
the boolean value of the FS delete operation, or an throwable.
- Definition Classes
Inherited methods
Attributes
- Returns
-
the Java version for the temporary file creator.
- Inherited from:
- TemporaryFileCreator
In this article