Package org.jeecgframework.minidao.util
Class FreemarkerParseFactory
java.lang.Object
org.jeecgframework.minidao.util.FreemarkerParseFactory
- Version:
- V1.0
- Author:
- 赵俊夫
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisExistTemplate(String tplName) 判断模板是否存在static StringparseTemplate(String tplName, Map<String, Object> paras) 解析ftl模板static StringparseTemplateContent(String tplContent, Map<String, Object> paras) 解析ftl
-
Constructor Details
-
FreemarkerParseFactory
public FreemarkerParseFactory()
-
-
Method Details
-
isExistTemplate
判断模板是否存在- Throws:
Exception
-
parseTemplate
解析ftl模板- Parameters:
tplName- 模板名paras- 参数- Returns:
-
parseTemplateContent
解析ftl- Parameters:
tplContent- 模板内容paras- 参数- Returns:
- String 模板解析后内容
-