Class ConfigImpl


  • public class ConfigImpl
    extends java.lang.Object
    Internal implementation detail, not ABI stable, do not touch. For use only by the com.typesafe.config package.
    • Constructor Detail

      • ConfigImpl

        public ConfigImpl()
    • Method Detail

      • computeCachedConfig

        public static Config computeCachedConfig​(java.lang.ClassLoader loader,
                                                 java.lang.String key,
                                                 java.util.concurrent.Callable<Config> updater)
      • parseResourcesAnySyntax

        public static ConfigObject parseResourcesAnySyntax​(java.lang.Class<?> klass,
                                                           java.lang.String resourceBasename,
                                                           ConfigParseOptions baseOptions)
      • parseResourcesAnySyntax

        public static ConfigObject parseResourcesAnySyntax​(java.lang.String resourceBasename,
                                                           ConfigParseOptions baseOptions)
      • emptyConfig

        public static Config emptyConfig​(java.lang.String originDescription)
      • fromAnyRef

        public static ConfigValue fromAnyRef​(java.lang.Object object,
                                             java.lang.String originDescription)
      • fromPathMap

        public static ConfigObject fromPathMap​(java.util.Map<java.lang.String,​? extends java.lang.Object> pathMap,
                                               java.lang.String originDescription)
      • systemPropertiesAsConfig

        public static Config systemPropertiesAsConfig()
      • reloadSystemPropertiesConfig

        public static void reloadSystemPropertiesConfig()
      • envVariablesAsConfig

        public static Config envVariablesAsConfig()
      • reloadEnvVariablesConfig

        public static void reloadEnvVariablesConfig()
      • envVariablesOverridesAsConfig

        public static Config envVariablesOverridesAsConfig()
      • reloadEnvVariablesOverridesConfig

        public static void reloadEnvVariablesOverridesConfig()
      • defaultReference

        public static Config defaultReference​(java.lang.ClassLoader loader)
      • defaultReferenceUnresolved

        public static Config 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 ConfigOrigin newSimpleOrigin​(java.lang.String description)
      • newFileOrigin

        public static ConfigOrigin newFileOrigin​(java.lang.String filename)
      • newURLOrigin

        public static ConfigOrigin newURLOrigin​(java.net.URL url)