Package org.springframework.web.servlet.view.mustache

Examples of org.springframework.web.servlet.view.mustache.MustacheTemplateException


    public MustacheTemplate getTemplate(String templateURL) throws MustacheTemplateException {
        try {
            final Reader templateReader = templateLoader.getTemplate(templateURL);
            return new JMustacheTemplate(compiler.compile(templateReader));
        } catch (Exception e) {
            throw new MustacheTemplateException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.springframework.web.servlet.view.mustache.MustacheTemplateException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.