Class java.net.URLEncoder
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.net.URLEncoder

Object
   |
   +----java.net.URLEncoder

public class URLEncoder
extends Object
The class contains a utility method for converting a String into a MIME format called "x-www-form-urlencoded" format.

To convert a String, each character is examined in turn:

Version:
1.12, 07/01/98
Author:
Herb Jellinek
Since:
JDK1.0

Method Index

 o encode(String)
Translates a string into x-www-form-urlencoded format.

Methods

 o encode
public static java.lang.String encode(String s)
Translates a string into x-www-form-urlencoded format.

Parameters:
s - String to be translated.
Returns:
the translated String.
Since:
JDK1.0

All Packages  Class Hierarchy  This Package  Previous  Next  Index