Class IniConfigSection

java.lang.Object
nz.org.riskscape.config.ConfigSection
nz.org.riskscape.config.ini.IniConfigSection

public class IniConfigSection extends nz.org.riskscape.config.ConfigSection
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Mode that determines how to resolve conflicts when there are multiple INI sections with the same ID.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The key used to specify a IniConfigSection.ConflictMode in config files.
  • Constructor Summary

    Constructors
    Constructor
    Description
    IniConfigSection(URI location, String name, nz.org.riskscape.ini.Section section)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    nz.org.riskscape.ini.Section
     
    Map<nz.org.riskscape.config.ConfigString,List<nz.org.riskscape.config.ConfigString>>
     

    Methods inherited from class nz.org.riskscape.config.ConfigSection

    equals, getAll, getLocation, getName, getOne, getOneRequired, hashCode, hasKey, toMap, toMultiMap, wild

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • IniConfigSection

      public IniConfigSection(URI location, String name, nz.org.riskscape.ini.Section section)
  • Method Details

    • toConfigMap

      public Map<nz.org.riskscape.config.ConfigString,List<nz.org.riskscape.config.ConfigString>> toConfigMap()
      Specified by:
      toConfigMap in class nz.org.riskscape.config.ConfigSection
    • getSection

      public nz.org.riskscape.ini.Section getSection()