| Package java.net |
Previous |
Java API |
Index |
Next |
public class java.net.URLEncoder
extends java.lang.Object
{
// Methods
public static String encode(String s);
}
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:
public static String encode(String s)Translates a String into x-www-form-urlencoded format.
Return Value:
Returns the translated String.
Parameter Description s String to be translated
| © 1996 Sun Microsystems, Inc. All rights reserved. |