korat.utils.cv
Class CVFactory
java.lang.Object
korat.utils.cv.CVFactory
- All Implemented Interfaces:
- ICVFactory
public class CVFactory
- extends Object
- implements ICVFactory
Concrete factory for dealing with candidate vector related stuff.
- Author:
- Aleksandar Milicevic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
private static CVFactory factory
CVFactory
protected CVFactory()
getCVFactory
public static ICVFactory getCVFactory()
- Use this method to get currently configured factory
- Returns:
- currently configured factory
getInstance
public static CVFactory getInstance()
createCVFinder
public ICVFinder createCVFinder(String fileName)
throws IOException
- Specified by:
createCVFinder
in interface ICVFactory
- Throws:
IOException
createCVReader
public ICVReader createCVReader(String fileName)
throws IOException
- Specified by:
createCVReader
in interface ICVFactory
- Throws:
IOException
createCVWriter
public ICVWriter createCVWriter(String fileName,
int numElemsPerCV,
int maxElem)
throws IOException
- Specified by:
createCVWriter
in interface ICVFactory
- Throws:
IOException