Hashtable props = new Hashtable();
props.put("key0", "value0");
props.put("key1", "${value1}");
props.put("key2", "${value2}");
for (Enumeration e = props.keys(); e.hasMoreElements();)
{
String name = (String) e.nextElement();
props.put(name, InterpolationHelper.substVars((String) props.get(name), name, null, props, context));
}