com.beasys.commerce.foundation.expression
Class Variables
java.lang.Object
com.beasys.commerce.foundation.expression.Variables
Deprecated Moved to Variables
.
public class Variables
- extends Object
Utility class to handle replacing ${varname} style variables in Strings.
- Since:
- 3.2
- See Also
VariableFinder
Method Summary |
static String |
varSubstitute(String inStr,
VariableFinder vars)
Deprecated Perform variable substitution (${varname}) on the specified string
using the given variable name to value map. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Variables
public Variables()
- Deprecated
varSubstitute
public static String varSubstitute(String inStr,
VariableFinder vars)
- Deprecated
- Perform variable substitution (${varname}) on the specified string
using the given variable name to value map.
This does not handle any kind of escape sequences (e.g.
"\${varname}" would still be replaced).
- Parameters
inStr
- the input string.vars
- the map of variable names to values.
- Returns
- the new string.
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
Other names may be trademarks of their respective owners.