Added in Java 1.2 as a complement to URLEncoder
Has a single static URLDecoder.decode()
method that
decodes an x-www-form-urlencoded string
String input
= "http://www.altavista.com/cgi-bin/query?"
+ "pg=q&kl=XX&stype=stext&q=%2B%22Java+I%2FO%22&search.x=38&search.y=3";
try {
String output = URLDecoder.decode(input);
System.out.println(output);
}