Package org.h2.server.web
Class PageParser
java.lang.Object
org.h2.server.web.PageParser
A page parser can parse an HTML page and replace the tags there.
This class is used by the H2 Console.
-
Method Summary
-
Method Details
-
parse
Replace the tags in the HTML page with the given settings.- Parameters:
page- the HTML pagesettings- the settings- Returns:
- the converted page
-
escapeHtml
Convert data to HTML, including newlines and multiple spaces.- Parameters:
s- the data- Returns:
- the escaped html text
-