クラス HtmlEscapeUtils
java.lang.Object
org.terasoluna.gfw.web.util.HtmlEscapeUtils
utility class about HTML Escape processing
-
メソッドの概要
-
メソッドの詳細
-
htmlEscape
escape html tags in the given string.target characters to escape are following
< ====> <
> ====> >
& ====> &
" ====> "
' ====> '
- パラメータ:
input
- string to escape- 戻り値:
- escaped string. returns empty string if
value
isnull
or empty string. - 関連項目:
-
HtmlUtils.htmlEscape(String)
-