* java.util.Map)
*/
public String substitute(String string, Map<String, Object> vars)
throws IllegalStateException
{
return new MapVariableInterpolator(string, addDefaultVars(vars), Application.get()
.getResourceSettings()
.getThrowExceptionOnMissingResource()).toString();
}