class ParameterTool extends ExecutionConfig.GlobalJobParameters implements Serializable, Cloneable {

	public static ParameterTool fromPropertiesFile(String path) throws IOException {
		File propertiesFile = new File(path);
		if(!propertiesFile.exists()) {
			throw new FileNotFoundException("Properties file "+path+" does not exist");
		}
		Properties props = new Properties();
		FileInputStream fis = new FileInputStream(propertiesFile);
		props.load(fis);
		fis.close();
		return fromMap((Map)props);
	}

	private  ParameterTool(Map<String, String> data);

}