Example usage for Java org.apache.commons.io FileCleaner fields, constructors, methods, implement or subclass
The text is from its open source code.
void | exitWhenFinished() Call this method to cause the file cleaner thread to terminate when there are no more objects being tracked for deletion. |
void | track(File file, Object marker) Track the specified file, using the provided marker, deleting the file when the marker instance is garbage collected. |
void | track(String path, Object marker) Track the specified file, using the provided marker, deleting the file when the marker instance is garbage collected. |