|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ontopia.utils.StringTemplateUtils
public class StringTemplateUtils
INTERNAL: Utilities for processing string templates containing %param% references.
Constructor Summary | |
---|---|
StringTemplateUtils()
|
Method Summary | |
---|---|
static String |
replace(String template,
Map paramvalues)
INTERNAL: Replaces all %name% references with the value of the "name" key in the paramvalues Map. |
static String |
replace(String template,
Map paramvalues,
char sep_char)
INTERNAL: Replaces all references surounded by a separator character with the value of the "name" key in the paramvalues Map. |
static String |
replace(String template,
String param,
String value)
INTERNAL: Replaces all %name% references with the value of the parameter param. |
static String |
replace(String template,
String param,
String value,
char sep_char)
INTERNAL: Replaces all references surrounded by a separator character with the value of the parameter param. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringTemplateUtils()
Method Detail |
---|
public static String replace(String template, Map paramvalues)
public static String replace(String template, Map paramvalues, char sep_char)
sep_char
- the separator charactor which delimits the
referencespublic static String replace(String template, String param, String value)
public static String replace(String template, String param, String value, char sep_char)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |