Decode and return the specified URL-encoded String. It is assumed the string is not a query string. @param str The url-encoded string @param charset The character encoding to use; if null, UTF-8 is used. @return the decoded string @exception IllegalArgumentException if a '%' character is not
(String str, Charset charset)
| 222 | * @exception IllegalArgumentException if a '%' character is not followed by a valid 2-digit hexadecimal number |
| 223 | */ |
| 224 | public static String URLDecode(String str, Charset charset) { |
| 225 | return URLDecode(str, charset, EncodedSolidusHandling.DECODE, EncodedSolidusHandling.DECODE); |
| 226 | } |
| 227 | |
| 228 | |
| 229 | /** |