Class OracleFactory
- java.lang.Object
-
- org.aksw.limes.core.evaluation.oracle.OracleFactory
-
public class OracleFactory extends Object
Factory class that gives different types of oracles based on the file type- Since:
- 1.0
- Version:
- 1.0
- Author:
- Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de), Mofeed Hassan (mounir@informatik.uni-leipzig.de)
-
-
Constructor Summary
Constructors Constructor Description OracleFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IOraclegetOracle(String filePath, String inputType, String oracleType)Creates an oracle based on the input type (i.e., the type of file within which the oracle data is contained) and the type of oracle needed.
-
-
-
Method Detail
-
getOracle
public static IOracle getOracle(String filePath, String inputType, String oracleType)
Creates an oracle based on the input type (i.e., the type of file within which the oracle data is contained) and the type of oracle needed.- Parameters:
filePath- Path to the file containing the data encapsulated by the oracleinputType- Type of the fileoracleType- Type of oracle required- Returns:
- An oracle that contains the data found at filePath
-
-