protected static class ManifoldCF.FileTrack extends java.lang.Object implements IShutdownHook
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<java.io.File> |
filesToDelete
Set of File objects
|
| Constructor and Description |
|---|
FileTrack()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(java.io.File f)
Add a file to track
|
void |
deleteFile(java.io.File f)
Delete a file
|
void |
doCleanup(IThreadContext threadContext)
Delete all remaining files
|
protected void |
finalize()
Finalizer, which is designed to catch class unloading that tomcat 5.5 does.
|
public void addFile(java.io.File f)
public void deleteFile(java.io.File f)
public void doCleanup(IThreadContext threadContext) throws ManifoldCFException
doCleanup in interface IShutdownHookManifoldCFExceptionprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable