Class Ini4jConfig

java.lang.Object
nz.org.riskscape.config.ini4j.Ini4jConfig
All Implemented Interfaces:
nz.org.riskscape.config.Config, Ini4jConfigConstants

public class Ini4jConfig extends Object implements nz.org.riskscape.config.Config, Ini4jConfigConstants
  • Constructor Details

    • Ini4jConfig

      public Ini4jConfig(URI rootLocation)
  • Method Details

    • load

      public static nz.org.riskscape.problem.ResultOrProblems<Ini4jConfig> load(URI base, nz.org.riskscape.engine.resource.ResourceFactory factory)
    • getAll

      public List<nz.org.riskscape.config.ConfigSection> getAll()
      Specified by:
      getAll in interface nz.org.riskscape.config.Config
    • getSection

      public Optional<nz.org.riskscape.config.ConfigSection> getSection(String name)
      Specified by:
      getSection in interface nz.org.riskscape.config.Config
    • add

      public List<nz.org.riskscape.problem.Problem> add(org.ini4j.Ini ini, nz.org.riskscape.engine.resource.Resource location)
    • add

      public List<nz.org.riskscape.problem.Problem> add(org.ini4j.Ini ini, nz.org.riskscape.engine.resource.Resource location, String implicitPrefix)
    • getRootLocation

      public URI getRootLocation()
      Specified by:
      getRootLocation in interface nz.org.riskscape.config.Config