public class URLDecoder extends Object implements Serializable
1. 将%20转换为空格 ; 2. 将"%xy"转换为文本形式,xy是两位16进制的数值; 3. 跳过不符合规范的%形式,直接输出
URLDecoder()
static byte[]
decode(byte[] bytes)
static String
decode(String str, Charset charset)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public URLDecoder()
public static String decode(String str, Charset charset)
str
charset
public static byte[] decode(byte[] bytes)
bytes
Copyright © 2020. All rights reserved.