Package org.springframework.ui.freemarker

Examples of org.springframework.ui.freemarker.SpringTemplateLoader


      catch (IOException ex) {
        if (logger.isDebugEnabled()) {
          logger.debug("Cannot resolve template loader path [" + templateLoaderPath +
              "] to [java.io.File]: using SpringTemplateLoader as fallback");
        }
        return new SpringTemplateLoader(getResourceLoader(), templateLoaderPath);
      }
    }
    else {
      // Always load via SpringTemplateLoader (without hot detection of template changes).
      logger.debug("File system access not preferred: using SpringTemplateLoader");
      return new SpringTemplateLoader(getResourceLoader(), templateLoaderPath);
    }
  }
View Full Code Here

TOP

Related Classes of org.springframework.ui.freemarker.SpringTemplateLoader

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.