Java 类org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties 实例源码

项目:cas-5.1.0    文件:CasProtocolView.java   
/**
 * Instantiates a new Cas protocol view.
 *
 * @param templateName       the template name
 * @param applicationContext the application context
 * @param templateEngine     the template engine
 * @param properties         the properties
 */
public CasProtocolView(final String templateName, final ApplicationContext applicationContext,
                       final SpringTemplateEngine templateEngine, final ThymeleafProperties properties) {
    super(templateName);
    setApplicationContext(applicationContext);
    setTemplateEngine(templateEngine);
    setCharacterEncoding(properties.getEncoding().displayName());
    setLocale(Locale.getDefault());
}
项目:ogham    文件:ThymeLeafConfigurer.java   
public ThymeLeafConfigurer(SpringTemplateEngine springTemplateEngine, OghamCommonTemplateProperties templateProperties, OghamEmailProperties emailProperties, OghamSmsProperties smsProperties,
        ThymeleafProperties springProperties) {
    super();
    this.springTemplateEngine = springTemplateEngine;
    this.templateProperties = templateProperties;
    this.emailProperties = emailProperties;
    this.smsProperties = smsProperties;
    this.springProperties = springProperties;
}