java.net
Class URLEncoder
java.lang.Object
|
+--java.net.URLEncoder
- public class URLEncoder
- extends Object
Turns Strings of text into x-www-form-urlencoded format.
Method Summary |
static String |
encode(String s)
Translates String into x-www-form-urlencoded format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encode
public static String encode(String s)
- Translates String into x-www-form-urlencoded format.
- Parameters:
s
- String to be translated
- Returns:
- the translated String.