DefaultTemporaryFileCreator
Creates temporary folders inside a single temporary folder. deleting all files on a successful application stop. Note that this will not clean up the filesystem if the application / JVM terminates abnormally.
Attributes
- Graph
-
- Supertypes
Members list
Type members
Classlikes
A temporary file hold a reference to a real path, and will delete it when the reference is garbage collected.
A temporary file hold a reference to a real path, and will delete it when the reference is garbage collected.
Attributes
- Supertypes
Value members
Concrete methods
Creates a temporary file.
Creates a temporary file.
Value parameters
- prefix
-
the prefix of the file.
- suffix
-
the suffix of the file
Attributes
- Returns
-
the newly created temporary file.
- Definition Classes
Creates a temporary file from an already existing file.
Creates a temporary file from an already existing file.
Value parameters
- path
-
the existing temp file path
Attributes
- Returns
-
a Temporary file wrapping the existing file.
- Definition Classes
Deletes the temporary file.
Deletes the temporary file.
Value parameters
- file
-
the temporary file to be deleted.
Attributes
- Returns
-
the boolean value of the FS delete operation, or an throwable.
- Definition Classes
Inherited methods
Attributes
- Returns
-
the Java version for the temporary file creator.
- Inherited from:
- TemporaryFileCreator