| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final String | |
| private int | |
| private StringBuilder | |
| private final Map | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | Returns: the escaped html textthe data s)Convert data to HTML, including newlines and multiple spaces. |
| private static String | |
| pack-priv static String | Returns: the escaped html textthe data s)Convert data to HTML, but don't convert newlines and multiple spaces. |
| pack-priv static String | Returns: the javascript stringthe text s)Escape text as a the javascript string. |
| private Object | |
| public static String | |
| private void | |
| private String | |
| private void | |
| private boolean | |
| private String | |
| private String | |
| private void | |
| private void | |
| private void |
| len | back to summary |
|---|---|
| private final int len | |
| page | back to summary |
|---|---|
| private final String page | |
| pos | back to summary |
|---|---|
| private int pos | |
| result | back to summary |
|---|---|
| private StringBuilder result | |
| settings | back to summary |
|---|---|
| private final Map<String, Object> settings | |
| TAB_WIDTH | back to summary |
|---|---|
| private static final int TAB_WIDTH | |
| PageParser | back to summary |
|---|---|
| private PageParser(String page, Map<String, Object> settings, int pos) | |
| escapeHtml | back to summary |
|---|---|
| public static String escapeHtml(String s) Convert data to HTML, including newlines and multiple spaces. | |
| escapeHtml | back to summary |
|---|---|
| private static String escapeHtml(String s, boolean convertBreakAndSpace) | |
| escapeHtmlData | back to summary |
|---|---|
| pack-priv static String escapeHtmlData(String s) Convert data to HTML, but don't convert newlines and multiple spaces. | |
| escapeJavaScript | back to summary |
|---|---|
| pack-priv static String escapeJavaScript(String s) Escape text as a the javascript string. | |
| get | back to summary |
|---|---|
private Object get(String item)
| |
| parse | back to summary |
|---|---|
| public static String parse(String page, Map<String, Object> settings) Replace the tags in the HTML page with the given settings. | |
| parseAll | back to summary |
|---|---|
private void parseAll() throws ParseException
| |
| parseBlockUntil | back to summary |
|---|---|
| private String parseBlockUntil(String end) throws ParseException | |
| read | back to summary |
|---|---|
| private void read(String s) throws ParseException | |
| readIf | back to summary |
|---|---|
| private boolean readIf(String s) | |
| readParam | back to summary |
|---|---|
| private String readParam(String name) throws ParseException | |
| replaceTags | back to summary |
|---|---|
| private String replaceTags() | |
| replaceTags | back to summary |
|---|---|
| private void replaceTags(String s) | |
| setError | back to summary |
|---|---|
| private void setError(int i) | |
| skipSpaces | back to summary |
|---|---|
| private void skipSpaces() | |