class ParameterTool extends ExecutionConfig.GlobalJobParameters implements Serializable, Cloneable {

	@PublicEvolving
	public static ParameterTool fromGenericOptionsParser(String[] args) throws IOException {
		Option[] options = new GenericOptionsParser(args).getCommandLine().getOptions();
		Map<String, String> map = new HashMap<String, String>();
		for (Option option : options) {
			String[] split = option.getValue().split("=");
			map.put(split[0], split[1]);
		}
		return fromMap(map);
	}

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

}