public class FreemarkerTemplateFormatter extends Object implements TemplateFormatter, ListTemplateFormatter
| 构造器和说明 |
|---|
FreemarkerTemplateFormatter() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getFormattedContent(Set<TableClass> tableClassSet,
Properties properties,
String targetPackage,
String templateContent)
获取根据模板生成的数据
|
String |
getFormattedContent(TableClass tableClass,
Properties properties,
String targetPackage,
String templateContent)
获取根据模板生成的数据
|
String |
process(String templateName,
String templateSource,
Map<String,Object> params)
根据模板处理
|
public String process(String templateName, String templateSource, Map<String,Object> params)
templateName - templateSource - params - public String getFormattedContent(TableClass tableClass, Properties properties, String targetPackage, String templateContent)
TemplateFormattergetFormattedContent 在接口中 TemplateFormatterpublic String getFormattedContent(Set<TableClass> tableClassSet, Properties properties, String targetPackage, String templateContent)
ListTemplateFormattergetFormattedContent 在接口中 ListTemplateFormatterCopyright © 2018. All Rights Reserved.