Package com.typesafe.config.impl
Class ConfigImpl
- java.lang.Object
-
- com.typesafe.config.impl.ConfigImpl
-
public class ConfigImpl extends java.lang.Object
Internal implementation detail, not ABI stable, do not touch. For use only by thecom.typesafe.configpackage.
-
-
Constructor Summary
Constructors Constructor Description ConfigImpl()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigcomputeCachedConfig(java.lang.ClassLoader loader, java.lang.String key, java.util.concurrent.Callable<Config> updater)static ConfigdefaultReference(java.lang.ClassLoader loader)static ConfigdefaultReferenceUnresolved(java.lang.ClassLoader loader)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.static ConfigemptyConfig(java.lang.String originDescription)static ConfigenvVariablesAsConfig()static ConfigenvVariablesOverridesAsConfig()static ConfigValuefromAnyRef(java.lang.Object object, java.lang.String originDescription)static ConfigObjectfromPathMap(java.util.Map<java.lang.String,? extends java.lang.Object> pathMap, java.lang.String originDescription)static ConfigOriginnewEnvVariable(java.lang.String description)static ConfigOriginnewFileOrigin(java.lang.String filename)static ConfigOriginnewSimpleOrigin(java.lang.String description)static ConfigOriginnewURLOrigin(java.net.URL url)static ConfigObjectparseFileAnySyntax(java.io.File basename, ConfigParseOptions baseOptions)static ConfigObjectparseResourcesAnySyntax(java.lang.Class<?> klass, java.lang.String resourceBasename, ConfigParseOptions baseOptions)static ConfigObjectparseResourcesAnySyntax(java.lang.String resourceBasename, ConfigParseOptions baseOptions)static voidreloadEnvVariablesConfig()static voidreloadEnvVariablesOverridesConfig()static voidreloadSystemPropertiesConfig()static ConfigsystemPropertiesAsConfig()static voidtrace(int indentLevel, java.lang.String message)static voidtrace(java.lang.String message)static booleantraceLoadsEnabled()static booleantraceSubstitutionsEnabled()
-
-
-
Constructor Detail
-
ConfigImpl
public ConfigImpl()
-
-
Method Detail
-
computeCachedConfig
public static computeCachedConfig(java.lang.ClassLoader loader, java.lang.String key, java.util.concurrent.Callable<Config> updater)
-
parseResourcesAnySyntax
public static parseResourcesAnySyntax(java.lang.Class<?> klass, java.lang.String resourceBasename, ConfigParseOptions baseOptions)
-
parseResourcesAnySyntax
public static parseResourcesAnySyntax(java.lang.String resourceBasename, ConfigParseOptions baseOptions)
-
parseFileAnySyntax
public static parseFileAnySyntax(java.io.File basename, ConfigParseOptions baseOptions)
-
emptyConfig
public static emptyConfig(java.lang.String originDescription)
-
fromAnyRef
public static fromAnyRef(java.lang.Object object, java.lang.String originDescription)
-
fromPathMap
public static fromPathMap(java.util.Map<java.lang.String,? extends java.lang.Object> pathMap, java.lang.String originDescription)
-
systemPropertiesAsConfig
public static systemPropertiesAsConfig()
-
reloadSystemPropertiesConfig
public static void reloadSystemPropertiesConfig()
-
envVariablesAsConfig
public static envVariablesAsConfig()
-
reloadEnvVariablesConfig
public static void reloadEnvVariablesConfig()
-
envVariablesOverridesAsConfig
public static envVariablesOverridesAsConfig()
-
reloadEnvVariablesOverridesConfig
public static void reloadEnvVariablesOverridesConfig()
-
defaultReference
public static defaultReference(java.lang.ClassLoader loader)
-
defaultReferenceUnresolved
public static defaultReferenceUnresolved(java.lang.ClassLoader loader)
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
public static void trace(java.lang.String message)
-
trace
public static void trace(int indentLevel, java.lang.String message)
-
newSimpleOrigin
public static newSimpleOrigin(java.lang.String description)
-
newFileOrigin
public static newFileOrigin(java.lang.String filename)
-
newURLOrigin
public static newURLOrigin(java.net.URL url)
-
newEnvVariable
public static newEnvVariable(java.lang.String description)
-
-