Package org.h2.build.indexer
Class HtmlConverter
java.lang.Object
org.h2.build.indexer.HtmlConverter
This class replaces HTML entities in text (for example ü) to the correct
character and vice versa.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringconvertHtmlToString(String html) Convert a HTML encoded text to a string.static StringConvert a string to HTML by encoding all required characters.
-
Method Details
-
convertStringToHtml
Convert a string to HTML by encoding all required characters.- Parameters:
s- the string- Returns:
- the HTML text
-
convertHtmlToString
Convert a HTML encoded text to a string.- Parameters:
html- the HTML text- Returns:
- the string
-