包:java.net.*



使用UIRLEncoder进行编码.比如:
String str = URLEncoder.encode("编码字符串","utf8");
使用URLDecoder进行解码.比如:
String str = URLDecoder.decode("解码字符串","utf8");
posted on 2018-06-27 15:51  昵称叫什么名  阅读(199)  评论(0)    收藏  举报