public class SettingsMatcher
extends java.lang.Object
Constructor and Description |
---|
SettingsMatcher() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
static java.lang.String |
replaceSettings(java.lang.String input)
Replaces all settings variables with their values.
|
static java.lang.String |
replaceSettingsHTML(java.lang.String input)
This is the same as replaceSettings() except that it also HTML-encodes
the replacements for safety when the output is printed as HTML.
|
public static java.lang.String replaceSettings(java.lang.String input)
input
- The template as a string.public static java.lang.String replaceSettingsHTML(java.lang.String input)
input
- The template as a string.public static void main(java.lang.String[] args)