class FreemakerUtils {
    protected static final Logger logger = LoggerFactory.getLogger(FreemakerUtils.class);

    public synchronized static String createText(String templateName, Configuration configuration, Map<String, Object> model) {<FILL_FUNCTION_BODY>}
}

        if (configuration != null) {
            try {
                Template template = configuration.getTemplate(templateName);
                model.put("ccDomain", IpUtil.domain);
                model.put("decimalFormat", new DecimalFormat("###,###"));
                String html = FreeMarkerTemplateUtils.processTemplateIntoString(template, model);
                return html;
            } catch (Exception e) {
                logger.error(e.getLocalizedMessage(), e);
            }
        }
        return "";
    
<no_super_class>