本文整理汇总了Java中org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties类的典型用法代码示例。如果您正苦于以下问题:Java ThymeleafProperties类的具体用法?Java ThymeleafProperties怎么用?Java ThymeleafProperties使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ThymeleafProperties类属于org.springframework.boot.autoconfigure.thymeleaf包,在下文中一共展示了ThymeleafProperties类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: CasProtocolView
点赞 2
import org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties; //导入依赖的package包/类
/**
* 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());
}
开发者ID:mrluo735,
项目名称:cas-5.1.0,
代码行数:17,
代码来源:CasProtocolView.java
示例2: ThymeLeafConfigurer
点赞 2
import org.springframework.boot.autoconfigure.thymeleaf.ThymeleafProperties; //导入依赖的package包/类
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;
}
开发者ID:groupe-sii,
项目名称:ogham,
代码行数:10,
代码来源:ThymeLeafConfigurer.java