public static void loadConfigResource(String resourceName) throws IOException {
  config.clear();
  config.putAll(loadPropertiesFromResource(resourceName));
}

public static void loadConfigResource ( String resourceName ) throws IOException { config . clear ( ) ; config . putAll ( loadPropertiesFromResource ( resourceName ) ) ; }
load configuration from resource in current class loader .
