Here you can find the source of uriDecoding(String str)
public static String uriDecoding(String str)
//package com.java2s; //License from project: Apache License import java.io.UnsupportedEncodingException; import java.net.URLDecoder; public class Main { public static String uriDecoding(String str) { String result = str;/*from ww w . j av a 2s . c o m*/ try { result = URLDecoder.decode(str, "UTF-8"); } catch (UnsupportedEncodingException e) { e.printStackTrace(); } return result; } }