add CharSequenceUtil

This commit is contained in:
Looly
2020-12-08 06:15:13 +08:00
parent 7633733cfe
commit 7a03bbe93a
7 changed files with 4325 additions and 4205 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -65,6 +65,36 @@ import java.util.Map;
*/
public class XmlUtil {
/**
* 字符串常量XML 空格转义 {@code " " -> " "}
*/
public static final String NBSP = " ";
/**
* 字符串常量XML And 符转义 {@code "&" -> "&"}
*/
public static final String AMP = "&";
/**
* 字符串常量XML 双引号转义 {@code """ -> "\""}
*/
public static final String QUOTE = """;
/**
* 字符串常量XML 单引号转义 {@code "&apos" -> "'"}
*/
public static final String APOS = "'";
/**
* 字符串常量XML 小于号转义 {@code "&lt;" -> "<"}
*/
public static final String LT = "&lt;";
/**
* 字符串常量XML 大于号转义 {@code "&gt;" -> ">"}
*/
public static final String GT = "&gt;";
/**
* 在XML中无效的字符 正则
*/