HtmlConverter

This class replaces HTML entities in text (for example ü) to the correct character and vice versa.

Methods
static String convertHtmlToString(String html)
Convert a HTML encoded text to a string.
static String convertHtmlToString(String html)
Convert a HTML encoded text to a string.
Parameters:
html - the HTML text
Returns:
the string
static String convertStringToHtml(String s)
Convert a string to HTML by encoding all required characters.
static String convertStringToHtml(String s)
Convert a string to HTML by encoding all required characters.
Parameters:
s - the string
Returns:
the HTML text