Interface HtmlUtils
public interface HtmlUtils
This interface gives you access to HTML encoding and decoding features.
-
Method Summary
-
Method Details
-
encode
Encode HTML text usingHtmlEncoding.STANDARDencoding.- Parameters:
html-Stringto be encoded.- Returns:
- the encoded
String.
-
encode
Encode HTML text.- Parameters:
html-Stringto be encoded.encoding-HtmlEncodingto be used.- Returns:
- the encoded
String.
-
decode
-