java.util.Iterator e = properties.keySet().iterator();
Iterator e = properties.keySet().iterator();
	public static String applyProperties(String s, Map properties)	{		java.util.Iterator e = properties.keySet().iterator();		while (s.indexOf('$')>=0 && e.hasNext())		{			String key = e.next().toString();			String val = properties.get(key).toString();			s = StringUtils.replace(s, "$("+key+")", val);			s = StringUtils.replace(s, "${"+key+"}", val);		}		return s;	}