Class 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 Detail

      • OracleFactory

        public OracleFactory()
    • 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 oracle
        inputType - Type of the file
        oracleType - Type of oracle required
        Returns:
        An oracle that contains the data found at filePath