java中将字符串转换为URL能解析的编码

来源:互联网 发布:java动态代理模式 编辑:程序博客网 时间:2024/06/05 20:10
String title =flowInstEntity.getTitle();

title = URLEncoder.encode(title,"utf-8");

URLDecoder.decode(String s,String enc);

URLDecoder.decode(title,"utf-8");

0 0
原创粉丝点击