类 FreemarkerParseFactory
java.lang.Object
org.jeecgframework.minidao.util.FreemarkerParseFactory
- 版本:
- V1.0
- 作者:
- 赵俊夫
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static booleanisExistTemplate(String tplName) 判断模板是否存在static StringparseTemplate(String tplName, Map<String, Object> paras) 解析ftl模板static StringparseTemplateContent(String tplContent, Map<String, Object> paras) 解析ftl
-
构造器详细资料
-
FreemarkerParseFactory
public FreemarkerParseFactory()
-
-
方法详细资料
-
isExistTemplate
判断模板是否存在- 抛出:
Exception
-
parseTemplate
解析ftl模板- 参数:
tplName- 模板名paras- 参数- 返回:
-
parseTemplateContent
解析ftl- 参数:
tplContent- 模板内容paras- 参数- 返回:
- String 模板解析后内容
-