storm-apt/api/src/main/java/com/turbomanage/storm/csv/CsvUtils.java
public static Map<String,String> getAsMap(String csvPairs) {
		Map<String,String> map = new HashMap<String,String>();
		String[] pairs = csvPairs.split(",");
		for (String pair : pairs) {
			String[] split = pair.split("=");
			map.put(split[0], split[1]);
		}
		return map;
	}
public static Map<String,String> getAsMap(String csvPairs) {
		Map<String,String> map = new HashMap<String,String>();
		String[] pairs = csvPairs.split(",");
		for (String pair : pairs) {
			String[] split = pair.split("=");
			map.put(split[0], split[1]);
		}
		return map;
	}
public static Map < String , String > getAsMap ( String csvPairs ) { Map < String , String > map = new HashMap < String , String > ( ) ; String [ ] pairs = csvPairs . split ( "," ) ; for ( String pair : pairs ) { String [ ] split = pair . split ( "=" ) ; map . put ( split [ 0 ] , split [ 1 ] ) ; } return map ; }
Parses a CSV row containing name=value pairs.

@param csvPairs
@return Map<name,value>
Parses a CSV row containing name = value pairs .