org.cumt
Class VariableReplacer

java.lang.Object
  extended by org.cumt.VariableReplacer

public class VariableReplacer
extends java.lang.Object


Constructor Summary
VariableReplacer()
           
 
Method Summary
static java.lang.String replace(java.lang.String expression, java.util.Map<java.lang.String,java.lang.String> variableMap)
          Replaces all variables found in an expression with values of several variable maps.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableReplacer

public VariableReplacer()
Method Detail

replace

public static java.lang.String replace(java.lang.String expression,
                                       java.util.Map<java.lang.String,java.lang.String> variableMap)
Replaces all variables found in an expression with values of several variable maps.
If a variable is in more than one variable map, first is used.

Parameters:
expression -
maps -
Returns:


Copyright © 2006 null. All Rights Reserved.