Class RawConfig


  • public abstract class RawConfig
    extends Object
    Hierarchical configuration of section/key/value triples.

    This class only implements the simple construction/storage/retrieval of these values. Other classes like Config implements accessors that interpret the values as other types.

    • Constructor Detail

      • RawConfig

        public RawConfig()
    • Method Detail

      • getValues

        public abstract com.google.common.collect.ImmutableMap<String,​com.google.common.collect.ImmutableMap<String,​String>> getValues()
      • getSection

        public com.google.common.collect.ImmutableMap<String,​String> getSection​(String sectionName)
        Retrieve a section by name.
        Returns:
        The contents of the named section. If the section does not exist, the empty map.
      • of

        public static RawConfig of()
        Returns an empty config.