Package nz.org.riskscape.config.ini4j
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
-
Field Summary
Fields inherited from interface nz.org.riskscape.config.Config
EMPTY
Fields inherited from interface nz.org.riskscape.config.ini4j.Ini4jConfigConstants
AUTOIMPORT_DEFAULT, AUTOIMPORT_KEY, DEFAULT_PROJECT_INI, FILE_PROTO, IMPORT_KEY, INI_SUFFIX, PROJECT_SECTION, RECURSION_LIMIT, TYPE_PREFIXES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<nz.org.riskscape.problem.Problem>
add
(org.ini4j.Ini ini, nz.org.riskscape.engine.resource.Resource location) List<nz.org.riskscape.problem.Problem>
List<nz.org.riskscape.config.ConfigSection>
getAll()
Optional<nz.org.riskscape.config.ConfigSection>
getSection
(String name) static nz.org.riskscape.problem.ResultOrProblems<Ini4jConfig>
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.config.ini4j.Ini4jConfigConstants
getWellKnownTypePrefix
-
Constructor Details
-
Ini4jConfig
-
-
Method Details
-
load
public static nz.org.riskscape.problem.ResultOrProblems<Ini4jConfig> load(URI base, nz.org.riskscape.engine.resource.ResourceFactory factory) -
getAll
- Specified by:
getAll
in interfacenz.org.riskscape.config.Config
-
getSection
- Specified by:
getSection
in interfacenz.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
-
getRootLocation
- Specified by:
getRootLocation
in interfacenz.org.riskscape.config.Config
-