| java.lang.Object | |
| ↳ | com.neomades.util.URLUtils |
URL encoding converts characters into a format that can be transmitted over the Internet.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static String |
decode(String encodedUrl, String encoding)
Decodes a URL string using the encoding.
| ||||||||||
| static String |
decodeUTF8(String encodedUrl)
Decodes a URL string using the UTF-8 encoding.
| ||||||||||
| static String |
encode(String url, String encoding)
Encodes a URL string using the specified encoding
| ||||||||||
| static String |
encodeUTF8(String url)
Encodes a URL string using the UTF-8 encoding.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Decodes a URL string using the encoding.
| encodedUrl | the encoded URL string. |
|---|---|
| encoding | the specified encoding |
| UnsupportedEncodingException | if the encoding parameter is not supported by the device |
|---|
Decodes a URL string using the UTF-8 encoding.
| encodedUrl | a URL encoded with UTF-8 encoding |
|---|
Encodes a URL string using the specified encoding
| url | the string to encode |
|---|---|
| encoding | the specified encoding |
| UnsupportedEncodingException | if the encoding parameter is not supported by the device |
|---|
Encodes a URL string using the UTF-8 encoding.
| url | the string to encode |
|---|