Package | Description |
---|---|
cn.hutool.core.text.escape |
提供各种转义和反转义实现
|
cn.hutool.core.text.replacer |
文本替换类抽象及实现
|
Modifier and Type | Class and Description |
---|---|
class |
Html4Escape
HTML4的ESCAPE
参考:Commons Lang3
|
class |
Html4Unescape
HTML4的UNESCAPE
|
class |
XmlEscape
XML特殊字符转义
见:https://stackoverflow.com/questions/1091945/what-characters-do-i-need-to-escape-in-xml-documents & (ampersand) 替换为 & < (less than) 替换为 < > (greater than) 替换为 > " (double quote) 替换为 " ' (single quote / apostrophe) 替换为 ' |
class |
XmlUnescape
XML的UNESCAPE
|
Modifier and Type | Method and Description |
---|---|
ReplacerChain |
ReplacerChain.addChain(StrReplacer element) |
Copyright © 2024. All rights reserved.