Interface ConfigParser


public interface ConfigParser
Load a config file into a flattened map.
  • Method Details

    • supportedExtensions

      String[] supportedExtensions()
      File extensions Supported by this parser
    • load

      Map<String,String> load(Reader reader)
      Parse content into key value pairs.
      Parameters:
      reader - configuration contents
      Returns:
      Key-Value pairs of all the configs
    • load

      Parse content into key value pairs.
      Parameters:
      is - configuration contents
      Returns:
      Key-Value pairs of all the configs