Package com.typesafe.config.impl
Class ConfigImpl
java.lang.Object
com.typesafe.config.impl.ConfigImpl
Internal implementation detail, not ABI stable, do not touch.
For use only by the
com.typesafe.config package.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigcomputeCachedConfig(ClassLoader loader, String key, Callable<Config> updater) static ConfigdefaultReference(ClassLoader loader) static ConfigThis returns the unresolved reference configuration, but before doing so, it verifies that the reference configuration resolves, to ensure that it is self contained and doesn't depend on any higher level configuration files.static ConfigemptyConfig(String originDescription) static Configstatic Configstatic ConfigValuefromAnyRef(Object object, String originDescription) static ConfigObjectfromPathMap(Map<String, ? extends Object> pathMap, String originDescription) static ConfigOriginnewEnvVariable(String description) static ConfigOriginnewFileOrigin(String filename) static ConfigOriginnewSimpleOrigin(String description) static ConfigOriginnewURLOrigin(URL url) static ConfigObjectparseFileAnySyntax(File basename, ConfigParseOptions baseOptions) static ConfigObjectparseResourcesAnySyntax(Class<?> klass, String resourceBasename, ConfigParseOptions baseOptions) static ConfigObjectparseResourcesAnySyntax(String resourceBasename, ConfigParseOptions baseOptions) static voidstatic voidstatic voidstatic Configstatic voidstatic voidstatic booleanstatic boolean
-
Constructor Details
-
ConfigImpl
public ConfigImpl()
-
-
Method Details
-
computeCachedConfig
-
parseResourcesAnySyntax
public static ConfigObject parseResourcesAnySyntax(Class<?> klass, String resourceBasename, ConfigParseOptions baseOptions) -
parseResourcesAnySyntax
public static ConfigObject parseResourcesAnySyntax(String resourceBasename, ConfigParseOptions baseOptions) -
parseFileAnySyntax
-
emptyConfig
-
fromAnyRef
-
fromPathMap
public static ConfigObject fromPathMap(Map<String, ? extends Object> pathMap, String originDescription) -
systemPropertiesAsConfig
-
reloadSystemPropertiesConfig
public static void reloadSystemPropertiesConfig() -
envVariablesAsConfig
-
reloadEnvVariablesConfig
public static void reloadEnvVariablesConfig() -
envVariablesOverridesAsConfig
-
reloadEnvVariablesOverridesConfig
public static void reloadEnvVariablesOverridesConfig() -
defaultReference
-
defaultReferenceUnresolved
This returns the unresolved reference configuration, but before doing so, it verifies that the reference configuration resolves, to ensure that it is self contained and doesn't depend on any higher level configuration files. -
traceLoadsEnabled
public static boolean traceLoadsEnabled() -
traceSubstitutionsEnabled
public static boolean traceSubstitutionsEnabled() -
trace
-
trace
-
newSimpleOrigin
-
newFileOrigin
-
newURLOrigin
-
newEnvVariable
-