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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfigReader<ConfigType>getReaderFor(Path file)
-
-
-
Method Detail
-
getReaderFor
ConfigReader<ConfigType> getReaderFor(Path file) throws ConfigException
- Parameters:
file- File path to get reader for.- Returns:
- The config reader to read given file.
- Throws:
ConfigException- If unable to get suitable reader.
-
-