code: public static Config getConfig(@Nonnull final URI configLocation, @Nullable final String configName)
      {
          final ConfigFactory configFactory = new ConfigFactory(configLocation, configName);
          return new Config(configFactory.load());
      }
docs: Load Configuration, using the supplied URI as base. The loaded configuration can be overridden using
  system properties.