字符串格式:key1=value1&key2=value2......
java代码
Map<String,String> targetOrderObj = Splitter.on("&") .withKeyValueSeparator("=") .split(targetOrder); //targetOrder 就是要转换的字符串
字符串格式:key1=value1&key2=value2......
java代码
Map<String,String> targetOrderObj = Splitter.on("&") .withKeyValueSeparator("=") .split(targetOrder); //targetOrder 就是要转换的字符串
转载于:https://www.cnblogs.com/tengpan-cn/p/5748116.html