Package com.typesafe.config
Class DefaultConfigLoadingStrategy
- java.lang.Object
-
- com.typesafe.config.DefaultConfigLoadingStrategy
-
- All Implemented Interfaces:
ConfigLoadingStrategy
public class DefaultConfigLoadingStrategy extends java.lang.Object implements ConfigLoadingStrategy
Default config loading strategy. Able to load resource, file or URL. Behavior may be altered by defining one of VM propertiesconfig.resource,config.fileorconfig.url
-
-
Constructor Summary
Constructors Constructor Description DefaultConfigLoadingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigparseApplicationConfig(ConfigParseOptions parseOptions)This method must load and parse application config.
-
-
-
Constructor Detail
-
DefaultConfigLoadingStrategy
public DefaultConfigLoadingStrategy()
-
-
Method Detail
-
parseApplicationConfig
public parseApplicationConfig(ConfigParseOptions parseOptions)
Description copied from interface:ConfigLoadingStrategyThis method must load and parse application config.- Specified by:
parseApplicationConfigin interfaceConfigLoadingStrategy- Parameters:
parseOptions-ConfigParseOptionsto use- Returns:
- loaded config
-
-