All Downloads are FREE. Search and download functionalities are using the official Maven repository.

configuration_file_parser.segment.ReasonerClassesParser Maven / Gradle / Ivy

package configuration_file_parser.segment;

import org.apache.commons.configuration2.Configuration;
import org.apache.commons.configuration2.ex.ConfigurationException;

import api.running.IToolBinding;
import configuration_file_parser.ParserConstants;
import configuration_file_parser.ParserUtils;
import constants.ToolsConstants;

public class ReasonerClassesParser {

	public static Class parse(Configuration apacheConfigurationObject)
			throws ConfigurationException, ClassNotFoundException {
		String classNickname = ParserUtils.popProperty(ParserConstants.META_REASONER_KW, apacheConfigurationObject);

		return ToolsConstants.getClassByName(classNickname);

	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy