public static class Files.DelegateTemporaryFileCreator extends Object implements Files.TemporaryFileCreator
Constructor and Description |
---|
DelegateTemporaryFileCreator(play.api.libs.Files.TemporaryFileCreator temporaryFileCreator) |
Modifier and Type | Method and Description |
---|---|
play.api.libs.Files.TemporaryFileCreator |
asScala() |
Files.TemporaryFile |
create(Path path) |
Files.TemporaryFile |
create(String prefix,
String suffix) |
boolean |
delete(Files.TemporaryFile temporaryFile) |
@Inject public DelegateTemporaryFileCreator(play.api.libs.Files.TemporaryFileCreator temporaryFileCreator)
public Files.TemporaryFile create(String prefix, String suffix)
create
in interface Files.TemporaryFileCreator
public Files.TemporaryFile create(Path path)
create
in interface Files.TemporaryFileCreator
public boolean delete(Files.TemporaryFile temporaryFile)
delete
in interface Files.TemporaryFileCreator
public play.api.libs.Files.TemporaryFileCreator asScala()
asScala
in interface Files.TemporaryFileCreator