Package org.aksw.iguana.cc.config
Class IguanaConfigFactory
- java.lang.Object
-
- org.aksw.iguana.cc.config.IguanaConfigFactory
-
public class IguanaConfigFactory extends java.lang.Object
Creates an IguanaConfig from a given JSON or YAML file, and validates the config using a JSON schema file
-
-
Constructor Summary
Constructors Constructor Description IguanaConfigFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IguanaConfig
parse(java.io.File config)
static IguanaConfig
parse(java.io.File config, java.lang.Boolean validate)
-
-
-
Method Detail
-
parse
public static IguanaConfig parse(java.io.File config) throws java.io.IOException
- Throws:
java.io.IOException
-
parse
public static IguanaConfig parse(java.io.File config, java.lang.Boolean validate) throws java.io.IOException
- Throws:
java.io.IOException
-
-