|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.p13n.content.expression.Variables
public class Variables
Utility class to handle replacing ${varname} style variables in Strings.
VariableFinder
Constructor Summary | |
---|---|
Variables()
Deprecated |
Method Summary | |
---|---|
static VariableFinder |
createAppNameVariableFinder()
Deprecated |
static String |
fixAppName(String in)
Deprecated Replaces all ${APPNAME}s in the input string with the current application name, if there is one. |
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 |
Constructor Detail |
---|
public Variables()
Method Detail |
---|
public static String varSubstitute(String inStr, VariableFinder vars)
This does not handle any kind of escape sequences (e.g. "\${varname}" would still be replaced).
inStr
- the input string.vars
- the map of variable names to values.
public static VariableFinder createAppNameVariableFinder()
public static String fixAppName(String in)
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |