Here you can find the source of urlDecode(String str)
static String urlDecode(String str)
//package com.java2s; //License from project: Open Source License public class Main { static String urlDecode(String str) { str = str.replace('_', '/').replace('-', '+'); return str; }// www.j av a 2s. c o m }