Facemorph.DataBase
Class TemplateLoader

java.lang.Object
  extended by Facemorph.DataBase.TemplateLoader
All Implemented Interfaces:
FileHandler

public class TemplateLoader
extends java.lang.Object
implements FileHandler


Constructor Summary
TemplateLoader()
           
 
Method Summary
 java.lang.Object read(java.io.File file)
          Attempt to read data from the given file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateLoader

public TemplateLoader()
Method Detail

read

public java.lang.Object read(java.io.File file)
                      throws java.io.IOException
Description copied from interface: FileHandler
Attempt to read data from the given file

Specified by:
read in interface FileHandler
Parameters:
file - the file to read data from
Returns:
an object representing the contents of the file. The actual object type is context dependent. Can be null if loading operation failed.
Throws:
java.io.IOException