Class ConfigParser


  • public class ConfigParser
    extends Object
    Parses configuration files, builds Inhabitants, and add them to Habitat.

    This class also maintains the model of various elements in the configuration file.

    This class can be sub-classed to create a ConfigParser with a custom non-standard behavior.

    Author:
    Kohsuke Kawaguchi
    • Field Detail

      • habitat

        protected final org.glassfish.hk2.api.ServiceLocator habitat
        This is where we put parsed inhabitants into.
    • Constructor Detail

      • ConfigParser

        public ConfigParser​(org.glassfish.hk2.api.ServiceLocator habitat)