Name

URLDecoder

Synopsis

This class defines a static decode( ) method that reverses the encoding performed by URLEncoder.encode( ). It decodes 8-bit text with the MIME type “x-www-form-urlencoded”, which is a standard encoding used by web browsers to submit form contents to CGI scripts and other server-side programs.

public class URLDecoder {
// Public Constructors
     public URLDecoder( );  
// Public Class Methods
                  1.4  public static String decode(String s, String enc) 
throws java.io.UnsupportedEncodingException;  
// Deprecated Public Methods
                  #    public static String decode(String s);  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.