Facemorph.DataBase.TemparyFiles
Class TemparyFileHandler
java.lang.Object
Facemorph.DataBase.TemparyFiles.TemparyFileHandler
public class TemparyFileHandler
- extends java.lang.Object
This class is designed to simplify the process of creating, accessing and disposing of tempary files
Constructor Summary |
TemparyFileHandler(java.lang.String tempDirectory)
Create a new tempary file system |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemparyFileHandler
public TemparyFileHandler(java.lang.String tempDirectory)
- Create a new tempary file system
- Parameters:
tempDirectory
- the location of the tempary store
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable
cleanUp
public void cleanUp()
add
protected void add(Stub e)
remove
public void remove(Stub stub)
generateUniqueID
public java.lang.String generateUniqueID()
generateFileName
public java.lang.String generateFileName(java.lang.String id)
exists
public boolean exists(java.lang.String id)