Class ConfigurationFactory
java.lang.Object
is.galia.config.ConfigurationFactory
-
Method Summary
Modifier and TypeMethodDescriptionstatic Configurationstatic ConfigurationProvidernewProviderFromPath(Path path) static voidsetAppInstance(Configuration config)
-
Method Details
-
fromPath
- Parameters:
path- Configuration file path.- Returns:
- New instance for the given path.
- Throws:
IOException
-
newProviderFromPath
- Parameters:
path- Configuration file path.- Returns:
- New instance suitable for using as the application
configuration. The instance will contain an
EnvironmentConfigurationat position 0 and aYAMLConfigurationat position 1. - Throws:
IOException- if there is an error reading the file.
-
setAppInstance
-