private String replaceVariables(String template) {
if (!replaceTokens) return template;
ReplaceVariable r = new ReplaceVariable();
String result = r.replace(template,
new I_ReplaceVariable() {
public String get(String key) {
return glob.getProperty().get(key, key);
}
});
return result;