| ★ wanayoo — archive 1999 http://developer.android.com/reference/java/net/URLEncoder.html | Nouvelle recherche | Portail wanayoo |
| java.lang.Object | |
| ↳ | java.net.URLEncoder |
This class is used to encode a string using the format required by
application/x-www-form-urlencoded MIME content type.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This class contains a utility method for converting a string to the
format required by the
application/x-www-form-urlencoded
MIME content type. | |||||||||||
This method is deprecated.
use encode(String, String) instead
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
This class contains a utility method for converting a string to the
format required by the application/x-www-form-urlencoded
MIME content type.
All characters except letters ('a'..'z', 'A'..'Z') and numbers ('0'..'9')
and characters '.', '-', '*', '_' are converted into their hexadecimal
value prepended by '%'.
For example: '#' -> %23
In addition, spaces are substituted by '+'
| s | the string to be converted |
|---|
| UnsupportedEncodingException |
|---|
This method is deprecated.use encode(String, String) instead
This class contains a utility method for converting a string to the
format required by the application/x-www-form-urlencoded
MIME content type.
All characters except letters ('a'..'z', 'A'..'Z') and numbers ('0'..'9') and characters '.', '-', '*', '_' are converted into their hexidecimal value prepended by '%'.
For example: '#' -> %23
In addition, spaces are substituted by '+'
| s | java.lang.String the converted string |
|---|