public class Encodes extends Object
| 构造器和说明 |
|---|
Encodes() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
decodeBase64(String input)
Base64解码.
|
static String |
decodeBase64String(String input)
Base64解码.
|
static byte[] |
decodeHex(String input)
Hex解码.
|
static String |
encodeBase62(byte[] input)
Base62编码。
|
static String |
encodeBase64(byte[] input)
Base64编码.
|
static String |
encodeBase64(String input)
Base64编码.
|
static String |
encodeHex(byte[] input)
Hex编码.
|
static String |
escapeHtml(String html)
Html 转码.
|
static String |
escapeXml(String xml)
Xml 转码.
|
static String |
unescapeHtml(String htmlEscaped)
Html 解码.
|
static String |
unescapeXml(String xmlEscaped)
Xml 解码.
|
static String |
urlDecode(String part)
URL 解码, Encode默认为UTF-8.
|
static String |
urlEncode(String part)
URL 编码, Encode默认为UTF-8.
|
public static String encodeHex(byte[] input)
public static byte[] decodeHex(String input)
public static String encodeBase64(byte[] input)
public static byte[] decodeBase64(String input)
public static String encodeBase62(byte[] input)
Copyright © 2022. All rights reserved.