Facemorph.DataBase.TemparyFiles
Class Stub
java.lang.Object
   Facemorph.DataBase.TemparyFiles.Stub
Facemorph.DataBase.TemparyFiles.Stub
- All Implemented Interfaces: 
- java.util.Comparator<Stub>
- Direct Known Subclasses: 
- FloatImageStub, PyramidStub
- public class Stub 
- extends java.lang.Object- implements java.util.Comparator<Stub>
| Constructor Summary | 
| protected  | Stub()
 | 
| protected  | Stub(java.lang.String id,
     java.io.File f)Create a new stub pointing to file f with id id.
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
| Methods inherited from interface java.util.Comparator | 
| equals | 
 
Stub
protected Stub(java.lang.String id,
               java.io.File f)
- Create a new stub pointing to file f with id id.
 
- Parameters:
- id-
- f-
 
Stub
protected Stub()
finalize
protected void finalize()
                 throws java.lang.Throwable
- 
- Overrides:
- finalizein class- java.lang.Object
 
- 
- Throws:
- java.lang.Throwable
 
compare
public int compare(Stub o1,
                   Stub o2)
- 
- Specified by:
- comparein interface- java.util.Comparator<Stub>
 
- 
 
getFile
protected java.io.File getFile()
- Returns the file pointed to by this Stub
 
- 
 
- 
- Returns:
- the file pointed to by this Stub
 
getID
protected java.lang.String getID()
- Returns the ID of this Stub
 
- 
 
- 
- Returns:
- the ID of this Stub
 
remove
public void remove()
- 
 
- 
 
setCacheHandler
public static void setCacheHandler(TemparyFileHandler handler)
- Setup the tempary cache file handler. This should only be done once.
 
- 
 
- 
- Parameters:
- handler- the tempary cache file handler