code: public Map<String,String> parse(final String str, char separator) {
  		if (str == null) {
  			return new HashMap<String,String>();
  		}
  		return parse(str.toCharArray(), separator);
  	}
docs: Extracts a map of name/value pairs from the given string. Names are expected to be unique.
  
  @param str the string that contains a sequence of name/value pairs
  @param separator the name/value pairs separator
  
  @return a map of name/value pairs