public class URLCoder
extends java.lang.Object
| Constructor and Description |
|---|
URLCoder() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
decode(java.lang.String a_strURL)
Decodes a URL to a unicode.
|
static java.lang.String |
encode(java.lang.String s)
Translates a string into
application/x-www-form-urlencoded
using UTF-8 encoding |
public static java.lang.String decode(java.lang.String a_strURL)
a_strURL - a URL in UTF-8-encodingpublic static java.lang.String encode(java.lang.String s)
throws java.io.UnsupportedEncodingException
application/x-www-form-urlencoded
using UTF-8 encodingin - String to be encodedjava.io.UnsupportedEncodingExceptionCopyright © 2023. All rights reserved.