Uses of Class
net.morimekta.config.ConfigSupplier
Packages that use ConfigSupplier
-
Uses of ConfigSupplier in net.morimekta.config
Methods in net.morimekta.config that return ConfigSupplierModifier and TypeMethodDescriptionConfigSupplier.addChangeListener(ConfigChangeListener<ConfigType> listener) Add a config change listener.ConfigSupplier.addEventListener(ConfigEventListener listener) Add a config event change listener.static <ConfigType>
ConfigSupplier<ConfigType>Make a config supplier, and figure out file reader by detecting file type and using default reader for the type.static <ConfigType>
ConfigSupplier<ConfigType>Load a config file, and detect file type and using default reader for the type.static <ConfigType>
ConfigSupplier<ConfigType>ConfigSupplier.yamlConfig(Class<ConfigType> type) Load config as YAML, just using available jackson modules.static <ConfigType>
ConfigSupplier<ConfigType>ConfigSupplier.yamlConfig(Class<ConfigType> type, Path file, Consumer<com.fasterxml.jackson.databind.ObjectMapper> initMapper) Load config as YAML.static <ConfigType>
ConfigSupplier<ConfigType>ConfigSupplier.yamlConfig(Class<ConfigType> type, Consumer<com.fasterxml.jackson.databind.ObjectMapper> initMapper) Load config as YAML.