类 HtmlUtils
java.lang.Object
com.publiccms.common.tools.HtmlUtils
HtmlUtils
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static String
cleanUnsafeHtml
(String string, String baseUri) private static org.jsoup.nodes.Element
clone
(org.jsoup.nodes.Element element, AtomicInteger counter) private static void
clone
(org.jsoup.nodes.Element cloneParent, List<org.jsoup.nodes.Node> nodeList, AtomicInteger counter) static void
getFileList
(String html, Set<String> set) static String
static String
removeHtmlTag
(String string) private static String
static String
private static void
swapWord
(org.jsoup.nodes.Element cloneParent, List<org.jsoup.nodes.Node> nodeList, Map<Character, Character> swapWordMap) private static org.jsoup.nodes.Element
-
字段详细资料
-
HTML_PATTERN
-
SRC_HREF_PATTERN
-
SAFELIST
public static final org.jsoup.safety.Safelist SAFELIST
-
-
构造器详细资料
-
HtmlUtils
private HtmlUtils()
-
-
方法详细资料
-
removeHtmlTag
- 参数:
string
-- 返回:
- result
-
getFileList
-
swapWord
-
swapWord
-
swapWord
-
swapWord
-
keep
-
cleanUnsafeHtml
-
clone
private static org.jsoup.nodes.Element clone(org.jsoup.nodes.Element element, AtomicInteger counter) -
clone
private static void clone(org.jsoup.nodes.Element cloneParent, List<org.jsoup.nodes.Node> nodeList, AtomicInteger counter)
-