public interface ConfigParser
Load a config file into a flattened map.
-
Method Summary
Modifier and TypeMethodDescriptionload
(InputStream is) Loads a file into a flat map of key value pairs.String[]
File extensions Supported by this parser
-
Method Details
-
supportedExtensions
String[] supportedExtensions()File extensions Supported by this parser -
load
Loads a file into a flat map of key value pairs.- Parameters:
is
- stream of file contents- Returns:
- Key-Value pairs of all the configs
-