Facemorph.mask
Class MaskFactory

java.lang.Object
  extended by Facemorph.mask.MaskFactory

public class MaskFactory
extends java.lang.Object

Factory class for Masks, creates a mask given a file extention


Constructor Summary
MaskFactory()
           
 
Method Summary
static MaskInterface open(java.io.File fopen)
          Open the given file and return a MaskInterface object of the correct type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaskFactory

public MaskFactory()
Method Detail

open

public static MaskInterface open(java.io.File fopen)
                          throws java.io.IOException
Open the given file and return a MaskInterface object of the correct type

Parameters:
f - file to open
Returns:
Appropriate mask object
Throws:
java.io.IOException