object SingletonTemporaryFileCreator extends TemporaryFileCreator
Ordering
- Alphabetic
- By Inheritance
Inherited
- SingletonTemporaryFileCreator
- TemporaryFileCreator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- class SingletonTemporaryFile extends TemporaryFile
Value Members
- def asJava: libs.Files.TemporaryFileCreator
- returns
the Java version for the temporary file creator.
- Definition Classes
- TemporaryFileCreator
- def create(path: Path): TemporaryFile
Creates a temporary file from an already existing file.
Creates a temporary file from an already existing file.
- path
the existing temp file path
- returns
a Temporary file wrapping the existing file.
- Definition Classes
- → TemporaryFileCreator
- def create(prefix: String, suffix: String): TemporaryFile
Creates a temporary file.
Creates a temporary file.
- prefix
the prefix of the file.
- suffix
the suffix of the file
- returns
the newly created temporary file.
- Definition Classes
- → TemporaryFileCreator
- def delete(tempFile: TemporaryFile): Try[Boolean]
Deletes the temporary file.
Deletes the temporary file.
- returns
the boolean value of the FS delete operation, or an throwable.
- Definition Classes
- → 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.