Package org.yamcs
Class YConfiguration.DefaultConfigurationResolver
java.lang.Object
org.yamcs.YConfiguration.DefaultConfigurationResolver
- All Implemented Interfaces:
YConfigurationResolver
- Enclosing class:
- YConfiguration
public static class YConfiguration.DefaultConfigurationResolver
extends Object
implements YConfigurationResolver
Default config file resolver. Looks for configuration files in the classpath and in the user config directory
(~/.yamcs/).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetConfigurationStream
(String name) Searches configuration by name
-
Constructor Details
-
DefaultConfigurationResolver
public DefaultConfigurationResolver()
-
-
Method Details
-
getConfigurationStream
Description copied from interface:YConfigurationResolver
Searches configuration by name- Specified by:
getConfigurationStream
in interfaceYConfigurationResolver
- Returns:
- Throws:
ConfigurationException
- when configuration cannot be found
-