Java org.apache.commons.io FileCleaner fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.io FileCleaner fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.io FileCleaner.

The text is from its open source code.

Method

voidexitWhenFinished()
Call this method to cause the file cleaner thread to terminate when there are no more objects being tracked for deletion.
voidtrack(File file, Object marker)
Track the specified file, using the provided marker, deleting the file when the marker instance is garbage collected.
voidtrack(String path, Object marker)
Track the specified file, using the provided marker, deleting the file when the marker instance is garbage collected.