|
|
|||||||||
| 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 java.lang.String |
replace(java.lang.String template,
java.util.Map paramvalues)
INTERNAL: Replaces all %name% references with the value of the "name" key in the paramvalues Map. |
static java.lang.String |
replace(java.lang.String template,
java.util.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 java.lang.String |
replace(java.lang.String template,
java.lang.String param,
java.lang.String value)
INTERNAL: Replaces all %name% references with the value of the parameter param. |
static java.lang.String |
replace(java.lang.String template,
java.lang.String param,
java.lang.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 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringTemplateUtils()
| Method Detail |
|---|
public static java.lang.String replace(java.lang.String template,
java.util.Map paramvalues)
public static java.lang.String replace(java.lang.String template,
java.util.Map paramvalues,
char sep_char)
sep_char - the separator charactor which delimits the
references
public static java.lang.String replace(java.lang.String template,
java.lang.String param,
java.lang.String value)
public static java.lang.String replace(java.lang.String template,
java.lang.String param,
java.lang.String value,
char sep_char)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||