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.file
orconfig.url
-
-
Constructor Summary
Constructors Constructor Description DefaultConfigLoadingStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Config
parseApplicationConfig(ConfigParseOptions parseOptions)
This method must load and parse application config.
-
-
-
Method Detail
-
parseApplicationConfig
public Config parseApplicationConfig(ConfigParseOptions parseOptions)
Description copied from interface:ConfigLoadingStrategy
This method must load and parse application config.- Specified by:
parseApplicationConfig
in interfaceConfigLoadingStrategy
- Parameters:
parseOptions
-ConfigParseOptions
to use- Returns:
- loaded config
-
-