java.lang.Objectorg.objectweb.telosys.common.SymbolicConfigVar
Utility class for "symbolic variables" operations ( set of static methods )
Designed to apply the values of the Telosys "symbolic variables" :
${SCREENNAME}, ${SCREENNAME_LC} or ${SCREENNAME_UC}
Constructor Summary | |
SymbolicConfigVar()
|
Method Summary | |
static java.lang.String |
applyBeanName(java.lang.String pattern,
java.lang.String beanNameValue)
Applies the given "bean name value" to the given pattern The string "${BEANNAME}" in the pattern will be replaced by the bean name NB : The "pattern" is supposed to contain only one occurrence of "${BEANNAME}" |
static java.lang.String |
applyScreenName(java.lang.String pattern,
java.lang.String screenNameValue)
Applies the given "screen name value" to the given pattern Replaces all the occurrences of the symbolic variables "${SCREENNAME}", "${SCREENNAME_UC}" and "${SCREENNAME_LC}" in the given pattern |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SymbolicConfigVar()
Method Detail |
public static java.lang.String applyScreenName(java.lang.String pattern, java.lang.String screenNameValue)
pattern
- the pattern containing 0 to N symbolic variablesscreenNameValue
- the value to apply
public static java.lang.String applyBeanName(java.lang.String pattern, java.lang.String beanNameValue)
pattern
- the pattern ( e.g. "my.package.${BEANNAME}DAO" )beanNameValue
- the value to apply ( e.g. "Book" )