private Map<String, String> parseUrl(String str) {
Map<String, String> rsltMap = new HashMap<String, String>();
String[] strList = str.split("&");
for(int i=0; i<strList.length; i++) {
String[] kv = strList[i].split("=");
if(kv.length != 2) {
continue;
}
rsltMap.put(kv[0].trim(), kv[1].trim());
}
Map<String, String> rsltMap = new HashMap<String, String>();
String[] strList = str.split("&");
for(int i=0; i<strList.length; i++) {
String[] kv = strList[i].split("=");
if(kv.length != 2) {
continue;
}
rsltMap.put(kv[0].trim(), kv[1].trim());
}
return rsltMap;
}