public static class Files.DelegateTemporaryFile extends java.lang.Object implements Files.TemporaryFile
Modifier and Type | Method and Description |
---|---|
Files.TemporaryFile |
atomicMoveWithFallback(java.io.File to) |
java.io.File |
file() |
Files.TemporaryFile |
moveTo(java.io.File to,
boolean replace) |
java.nio.file.Path |
path() |
Files.TemporaryFileCreator |
temporaryFileCreator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
moveTo
public java.nio.file.Path path()
path
in interface Files.TemporaryFile
public java.io.File file()
file
in interface Files.TemporaryFile
public Files.TemporaryFileCreator temporaryFileCreator()
temporaryFileCreator
in interface Files.TemporaryFile
public Files.TemporaryFile moveTo(java.io.File to, boolean replace)
moveTo
in interface Files.TemporaryFile
public Files.TemporaryFile atomicMoveWithFallback(java.io.File to)
atomicMoveWithFallback
in interface Files.TemporaryFile