Package nz.org.riskscape.config.ini4j
Class Ini4jConfigSection
java.lang.Object
nz.org.riskscape.config.ini4j.Ini4jConfigSection
- All Implemented Interfaces:
nz.org.riskscape.config.ConfigSection
,Ini4jConfigConstants
public class Ini4jConfigSection
extends Object
implements nz.org.riskscape.config.ConfigSection, Ini4jConfigConstants
-
Field Summary
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
ConstructorDescriptionIni4jConfigSection
(org.ini4j.Profile.Section section, URI location, String name) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
getName()
nz.org.riskscape.problem.ResultOrProblems<String>
getOneRequired
(String key) int
hashCode()
toMap()
FIXME - there's a couple of issues with this: 1 - undefined behaviour on duplicate keys 2 - empty values are returned, inconsistent with getOne() and getAll()toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface nz.org.riskscape.config.ConfigSection
hasKey
Methods inherited from interface nz.org.riskscape.config.ini4j.Ini4jConfigConstants
getWellKnownTypePrefix
-
Constructor Details
-
Ini4jConfigSection
-
-
Method Details
-
getOne
- Specified by:
getOne
in interfacenz.org.riskscape.config.ConfigSection
-
getAll
- Specified by:
getAll
in interfacenz.org.riskscape.config.ConfigSection
-
toMap
FIXME - there's a couple of issues with this: 1 - undefined behaviour on duplicate keys 2 - empty values are returned, inconsistent with getOne() and getAll()
- Specified by:
toMap
in interfacenz.org.riskscape.config.ConfigSection
-
toMultiMap
- Specified by:
toMultiMap
in interfacenz.org.riskscape.config.ConfigSection
-
getOneRequired
- Specified by:
getOneRequired
in interfacenz.org.riskscape.config.ConfigSection
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getLocation
- Specified by:
getLocation
in interfacenz.org.riskscape.config.ConfigSection
-
getName
- Specified by:
getName
in interfacenz.org.riskscape.config.ConfigSection
-