code: public String getConfig(String configName, String def)
    {
      if (config != null)
      {
        return config.getProperty(configName, def);
      }
      else
      {
        return def;
      }
    }
docs: Returns a configuration from the underlying property object.
  
  @param configName The name of the configuration.
  @param def the default value, if no config is found.
  @return Can be null if the config name does not exists.