|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.core.system.ManifoldCF.FileTrack
protected static class ManifoldCF.FileTrack
Class that tracks files that need to be cleaned up on exit
| Field Summary | |
|---|---|
protected java.util.HashMap |
filesToDelete
Key and value are both File objects |
| Constructor Summary | |
|---|---|
ManifoldCF.FileTrack()
Constructor |
|
| Method Summary | |
|---|---|
void |
addFile(java.io.File f)
Add a file to track |
void |
deleteFile(java.io.File f)
Delete a file |
void |
doCleanup()
Delete all remaining files |
protected void |
finalize()
Finalizer, which is designed to catch class unloading that tomcat 5.5 does. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.HashMap filesToDelete
| Constructor Detail |
|---|
public ManifoldCF.FileTrack()
| Method Detail |
|---|
public void addFile(java.io.File f)
public void deleteFile(java.io.File f)
public void doCleanup()
throws ManifoldCFException
doCleanup in interface IShutdownHookManifoldCFException
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||