object NoTemporaryFileCreator extends TemporaryFileCreator
Ordering
- Alphabetic
- By Inheritance
Inherited
- NoTemporaryFileCreator
- TemporaryFileCreator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def asJava: 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
- NoTemporaryFileCreator → 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
- NoTemporaryFileCreator → TemporaryFileCreator
- def delete(file: TemporaryFile): Try[Boolean]
Deletes the temporary file.
Deletes the temporary file.
- file
the temporary file to be deleted.
- returns
the boolean value of the FS delete operation, or an throwable.
- Definition Classes
- NoTemporaryFileCreator → TemporaryFileCreator