public class Decoder extends Object
| Constructor and Description |
|---|
Decoder() |
| Modifier and Type | Method and Description |
|---|---|
static String |
decode(String value)
Decodes a percent-encoded UTF-8 String value into a Java String
(in its internal UTF-16 encoding).
|
public static String decode(String value) throws IllegalArgumentException, NumberFormatException
value - the encoded StringIllegalArgumentException - if value contains characters not representing UTF-8 bytes
or ends with an unfinished percent-encoded characterNumberFormatException - if the two characters after a percent character
are not hexadecimal digitsCopyright © 2023. All rights reserved.