|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtj.core.model.ReplaceableParametersProcessor
public class ReplaceableParametersProcessor
This class provides processing for a string containing replaceable values. This class supports strings that are formatted as follows:
[%heapsize%|-Xheapsize:%heapsize%] [%securityDomain%|-Xdomain:%securityDomain%] %userSpecifiedArguments%Strings specified within '%' characters are replaceable. The string between the characters provides the name of a property to be found within the provided properties object. Expressions of the form
[%value1%|optional expression] specify an optional expression.
If the result of evaluating %value1% is non-null and has a
length greater than zero, the entire optional expression with be replaced
with the value of optional expression. If the result of
evaluating %value1% is null or an empty string, the
entire conditional expression will be removed.
| Method Summary | |
|---|---|
static String |
processReplaceableValues(String replaceableString,
Map<String,String> replacementValues)
Process the replaceable values in the specified string with values from the replacement values provided. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String processReplaceableValues(String replaceableString,
Map<String,String> replacementValues)
replaceableString - replacementValues -
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||