Fork me on GitHub

AO Logo AO TempFiles

Java temporary file API filling-in JDK gaps and deficiencies.

Project Links

Modules

Contact Us

For questions or support, please contact us:

Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://aoindustries.com/contact

Skip navigation links
AO TempFiles 1.0.1-POST-SNAPSHOT
C F G T 

C

close() - Method in class com.aoindustries.tempfiles.TempFile
Closes the temporary file, de-registering from delete on exit and deleting the underlying file.
close() - Method in class com.aoindustries.tempfiles.TempFileContext
Closes this instance.
com.aoindustries.tempfiles - package com.aoindustries.tempfiles
 
createTempFile(String, String) - Method in class com.aoindustries.tempfiles.TempFileContext
Creates a new temporary file with the given prefix and suffix, deleting on close or exit.
createTempFile(String) - Method in class com.aoindustries.tempfiles.TempFileContext
Creates a new temporary file with default suffix, deleting on close or exit.
createTempFile() - Method in class com.aoindustries.tempfiles.TempFileContext
Creates a new temporary file with default prefix and suffix, deleting on close or exit.

F

finalize() - Method in class com.aoindustries.tempfiles.TempFileContext
Do not rely on the finalizer - this is just in case something is way off and the calling code doesn't correctly dispose their instances.

G

getFile() - Method in class com.aoindustries.tempfiles.TempFile
Gets the temporary file.
getSize() - Method in class com.aoindustries.tempfiles.TempFileContext
Gets the number of files that are currently scheduled to be deleted on close/exit.
getTmpDir() - Method in class com.aoindustries.tempfiles.TempFileContext
Gets the temporary directory this instance is using.

T

TempFile - Class in com.aoindustries.tempfiles
A temporary file that is deleted when closed or when its associated TempFileContext is closed.
TempFileContext - Class in com.aoindustries.tempfiles
Provides a central temporary file manager for use by any number of projects.
TempFileContext(File) - Constructor for class com.aoindustries.tempfiles.TempFileContext
Create a new instance of the temp file manager.
TempFileContext(String) - Constructor for class com.aoindustries.tempfiles.TempFileContext
Uses the provided temporary directory.
TempFileContext() - Constructor for class com.aoindustries.tempfiles.TempFileContext
Uses the system default temporary directory from system property "java.io.tmpdir".
C F G T 
Skip navigation links
AO TempFiles 1.0.1-POST-SNAPSHOT

Copyright © 2017–2019 AO Industries, Inc.. All rights reserved.