Module net.morimekta.config
Package net.morimekta.config.readers
Interface ConfigReaderSupplier<ConfigType>
- Type Parameters:
ConfigType- The config type to get reader for.
- All Known Implementing Classes:
FixedConfigReaderSupplier,ProvidedConfigReaderSupplier
public interface ConfigReaderSupplier<ConfigType>
A helper class to load config files from disk and parse into
the specified config type.
-
Method Summary
-
Method Details
-
getReaderFor
- Parameters:
file- File path to get reader for.- Returns:
- The config reader to read given file.
- Throws:
ConfigException- If unable to get suitable reader.
-