public final class EncodingUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
decodeURIComponent(String s)
Decodes the passed UTF-8 String using an algorithm that's compatible with
JavaScript's
decodeURIComponent function. |
static String |
encodeURIComponent(String s)
Encodes the passed String as UTF-8 using an algorithm that's compatible
with JavaScript's
encodeURIComponent function. |
public static String decodeURIComponent(String s)
decodeURIComponent
function. Returns
null
if the String is null
.s
- The UTF-8 encoded String to be decodedCopyright © 2012–2014 Ministerie EZ. All rights reserved.