public Map<String,String> loadConfigProperties(Path confFile) throws IOException {
  if (!exists(confFile)) {
    throw new FileNotFoundException(format("Configuration file '%s' not found",confFile.toString()));
  }
  try {
    return doLoadCodenvyProperties(confFile);
  }
 catch (  IOException e) {
    throw new ConfigException(format("Can't load properties: %s",e.getMessage()),e);
  }
}

public Map < String , String > loadConfigProperties ( Path confFile ) throws IOException { if ( ! exists ( confFile ) ) { throw new FileNotFoundException ( format ( "Configuration file '%s' not found" , confFile . toString ( ) ) ) ; } try { return doLoadCodenvyProperties ( confFile ) ; } catch ( IOException e ) { throw new ConfigException ( format ( "Can't load properties: %s" , e . getMessage ( ) ) , e ) ; } }
loads properties from the given file .
