|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.server.web.PageParser
public class PageParser
A page parser can parse an HTML page and replace the tags there. This class is used by the H2 Console.
Method Summary | |
---|---|
static java.lang.String |
escapeHtml(java.lang.String s)
Convert data to HTML, including newlines and multiple spaces. |
static java.lang.String |
parse(java.lang.String page,
java.util.Map<java.lang.String,java.lang.Object> settings)
Replace the tags in the HTML page with the given settings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String parse(java.lang.String page, java.util.Map<java.lang.String,java.lang.Object> settings)
page
- the HTML pagesettings
- the settings
public static java.lang.String escapeHtml(java.lang.String s)
s
- the data
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |