public static Map<String,String> createArgMap(String[] args) {
		
		Logger.getLogger(CommandLineParser.class.getName()).entering("CommandLineParser", "createArgMap",args);
		Map<String,String> retMap=null;
		if(args!=null){
			retMap=new HashMap<String, String>();
			for(String arg:args){
				if("help".equalsIgnoreCase(arg)){
					retMap.put("help",null);
				}else{
				String[] values=arg.split("=");
				if(values==null || values.length!=2){
					Logger.getLogger(CommandLineParser.class.getName()).severe("Command Line Arguments should be in name=value pairs");
				}
				
				retMap.put(values[0], values[1]);
				}
			}
		}
		Logger.getLogger(CommandLineParser.class.getName()).exiting("CommandLineParser", "createArgMap",retMap);
		return retMap;
	}