Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.lutris.http
Class URLDecoder  view URLDecoder download URLDecoder.java

java.lang.Object
  extended bycom.lutris.http.URLDecoder

public class URLDecoder
extends java.lang.Object

This class contains a utility method for converting a String from the MIME "x-www-form-urlencoded" into its original format. This class implements the inverse functionality of java.net.URLEncoder.


Constructor Summary
URLDecoder()
           
 
Method Summary
static java.lang.String decode(java.lang.String s)
          Decode a urlencoded string by replacing '+' with space ' ', and "%xx" to the Latin1 character specified by the hex digits "xx".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLDecoder

public URLDecoder()
Method Detail

decode

public static java.lang.String decode(java.lang.String s)
Decode a urlencoded string by replacing '+' with space ' ', and "%xx" to the Latin1 character specified by the hex digits "xx". The input string is assumed to have been broken up into either a key or a value pair, so '=', '?', and '&' are not treated as separators. This method implements the inverse functionality of java.net.URLEncoder.encode.