Example usage for org.springframework.boot.autoconfigure.thymeleaf ThymeleafProperties getSuffix

List of usage examples for org.springframework.boot.autoconfigure.thymeleaf ThymeleafProperties getSuffix

Introduction

In this page you can find the example usage for org.springframework.boot.autoconfigure.thymeleaf ThymeleafProperties getSuffix.

Prototype

public String getSuffix() 

Source Link

Usage

From source file:com.ctv.TemplateResolverCustom.java

public TemplateResolverCustom(ThymeleafProperties properties, IResourceResolver resourceResolver,
        Integer order) {/*from   ww  w  .  j av a2  s.c om*/
    super();
    this.setOrder(order); // no matter what order I use here, TemplateResolver will always be prefered
    this.setResourceResolver(resourceResolver);
    this.setPrefix(properties.getPrefix());
    this.setSuffix(properties.getSuffix());
    this.setTemplateMode(properties.getMode());
    this.setCharacterEncoding(properties.getEncoding());
    this.setCacheable(properties.isCache());
}