Class 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
    • 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)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IguanaConfigFactory

        public IguanaConfigFactory()
    • 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