Index
All Classes and Interfaces|All Packages
C
- close() - Method in class com.aoapps.tempfiles.TempFile
-
Closes the temporary file, de-registering from delete on exit and deleting the underlying file.
- close() - Method in class com.aoapps.tempfiles.TempFileContext
-
Closes this instance.
- com.aoapps.tempfiles - module com.aoapps.tempfiles
- com.aoapps.tempfiles - package com.aoapps.tempfiles
- createTempDirectory() - Method in class com.aoapps.tempfiles.TempFileContext
-
Creates a new temporary directory with default prefix, recursively deleting on close or exit.
- createTempDirectory(String) - Method in class com.aoapps.tempfiles.TempFileContext
-
Creates a new temporary directory with the given prefix, recursively deleting on close or exit.
- createTempFile() - Method in class com.aoapps.tempfiles.TempFileContext
-
Creates a new temporary file with default prefix and suffix, deleting on close or exit.
- createTempFile(String) - Method in class com.aoapps.tempfiles.TempFileContext
-
Creates a new temporary file based on the given name, deleting on close or exit.
- createTempFile(String, String) - Method in class com.aoapps.tempfiles.TempFileContext
-
Creates a new temporary file with the given prefix and suffix, deleting on close or exit.
G
- generatePrefix(String) - Static method in class com.aoapps.tempfiles.TempFileContext
-
Generates a temp file prefix given a name template.
- getFile() - Method in class com.aoapps.tempfiles.TempFile
-
Gets the temporary file.
- getSize() - Method in class com.aoapps.tempfiles.TempFileContext
-
Gets the number of files that are currently scheduled to be deleted on close/exit.
- getTmpDir() - Method in class com.aoapps.tempfiles.TempFileContext
-
Gets the temporary directory this instance is using, which may be
null
when using the system directory.
T
- TempFile - Class in com.aoapps.tempfiles
- TempFileContext - Class in com.aoapps.tempfiles
-
Provides a central temporary file manager for use by any number of projects.
- TempFileContext() - Constructor for class com.aoapps.tempfiles.TempFileContext
-
Uses the system default temporary directory from
system property
"java.io.tmpdir"
. - TempFileContext(File) - Constructor for class com.aoapps.tempfiles.TempFileContext
-
Create a new instance of the temp file manager.
- TempFileContext(String) - Constructor for class com.aoapps.tempfiles.TempFileContext
-
Uses the provided temporary directory.
All Classes and Interfaces|All Packages