public static HashMap<String,String> toMap(String string, String keyvalDelimiter, String itemDelimiter) {
		HashMap<String, String> ret = new LinkedHashMap<String, String>();
		for (String item : string.split(itemDelimiter)) {
			String[] split = item.split(keyvalDelimiter);
			ret.put(split[0], split[1]);
		}
		return ret;
	}