Introduction
Here is the source code for MainClass.java
Source
import java.net.URLDecoder;
public class MainClass {
public static void main(String[] args) throws Exception {
String url = "http://www.%20test.com/";
String decoded = URLDecoder.decode(url, "UTF-8");
System.out.println(decoded);
}
}