Package | Description |
---|---|
cn.hutool.extra.template |
第三方模板引擎封装,提供统一的接口用于适配第三方模板引擎
|
cn.hutool.extra.template.engine.beetl |
Beetl实现
|
cn.hutool.extra.template.engine.enjoy |
Jfinal家的Enjoy模板引擎实现
|
cn.hutool.extra.template.engine.freemarker |
Freemarker实现
见:https://freemarker.apache.org/ |
cn.hutool.extra.template.engine.rythm |
Rythm实现
|
cn.hutool.extra.template.engine.thymeleaf |
Thymeleaf实现
|
cn.hutool.extra.template.engine.velocity |
Velocity实现
见:http://velocity.apache.org/ |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTemplate
抽象模板,提供将模板融合后写出到文件、返回字符串等方法
|
Modifier and Type | Method and Description |
---|---|
Template |
TemplateEngine.getTemplate(String resource)
获取模板
|
Modifier and Type | Class and Description |
---|---|
class |
BeetlTemplate
Beetl模板实现
|
Modifier and Type | Method and Description |
---|---|
Template |
BeetlEngine.getTemplate(String resource) |
Modifier and Type | Class and Description |
---|---|
class |
EnjoyTemplate
Engoy模板实现
|
Modifier and Type | Method and Description |
---|---|
Template |
EnjoyEngine.getTemplate(String resource) |
Modifier and Type | Class and Description |
---|---|
class |
FreemarkerTemplate
Freemarker模板实现
|
Modifier and Type | Method and Description |
---|---|
Template |
FreemarkerEngine.getTemplate(String resource) |
Modifier and Type | Class and Description |
---|---|
class |
RythmTemplate
Rythm模板包装
|
Modifier and Type | Method and Description |
---|---|
Template |
RythmEngine.getTemplate(String resource) |
Modifier and Type | Class and Description |
---|---|
class |
ThymeleafTemplate
Thymeleaf模板实现
|
Modifier and Type | Method and Description |
---|---|
Template |
ThymeleafEngine.getTemplate(String resource) |
Modifier and Type | Class and Description |
---|---|
class |
VelocityTemplate
Velocity模板包装
|
Modifier and Type | Method and Description |
---|---|
Template |
VelocityEngine.getTemplate(String resource) |
Copyright © 2021. All rights reserved.