Package play.libs
Class Files.SingletonTemporaryFileCreator
- Object
-
- play.libs.Files.SingletonTemporaryFileCreator
-
- All Implemented Interfaces:
Files.TemporaryFileCreator
- Enclosing class:
- Files
public static class Files.SingletonTemporaryFileCreator extends Object implements Files.TemporaryFileCreator
A temporary file creator that uses the Scala play.api.libs.Files.SingletonTemporaryFileCreator class behind the scenes.
-
-
Constructor Summary
Constructors Constructor Description SingletonTemporaryFileCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description play.api.libs.Files.TemporaryFileCreator
asScala()
Files.TemporaryFile
create(String prefix, String suffix)
Files.TemporaryFile
create(Path path)
boolean
delete(Files.TemporaryFile temporaryFile)
-
-
-
Method Detail
-
create
public Files.TemporaryFile create(String prefix, String suffix)
- Specified by:
create
in interfaceFiles.TemporaryFileCreator
-
create
public Files.TemporaryFile create(Path path)
- Specified by:
create
in interfaceFiles.TemporaryFileCreator
-
delete
public boolean delete(Files.TemporaryFile temporaryFile)
- Specified by:
delete
in interfaceFiles.TemporaryFileCreator
-
asScala
public play.api.libs.Files.TemporaryFileCreator asScala()
- Specified by:
asScala
in interfaceFiles.TemporaryFileCreator
-
-