- Type Parameters:
ConfigType- The config type.
- All Known Implementing Classes:
YamlConfigReader
public interface ConfigReader<ConfigType>
A interface to load config files from disk and parse into
the specified config type.
-
Method Summary
-
Method Details
-
readConfig
- Parameters:
file- File path to load config from.- Returns:
- The loaded config file.
- Throws:
ConfigException- If parsing file failed.IOException- If reading the config file failed.
-