类 AbstractTemplateComposer
- java.lang.Object
-
- tech.testnx.cah.common.templates.AbstractTemplateComposer
-
- 所有已实现的接口:
ComposeTemplate
- 直接已知子类:
CahComposer,FreemarkerComposer
public abstract class AbstractTemplateComposer extends Object implements ComposeTemplate
- 作者:
- Yun
-
-
构造器概要
构造器 构造器 说明 AbstractTemplateComposer()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 FilecomposeFile(Object dataModel, File templateFile, Path composedFilePath)Generate the target content file based on data model object and template fileFilecomposeFile(Object dataModel, String templateContent, Path composedFilePath)Generate the target content file based on data model object and template String-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 tech.testnx.cah.common.templates.ComposeTemplate
compose, compose
-
-
-
-
方法详细资料
-
composeFile
public File composeFile(Object dataModel, File templateFile, Path composedFilePath)
从接口复制的说明:ComposeTemplateGenerate the target content file based on data model object and template file- 指定者:
composeFile在接口中ComposeTemplate- 返回:
-
composeFile
public File composeFile(Object dataModel, String templateContent, Path composedFilePath)
从接口复制的说明:ComposeTemplateGenerate the target content file based on data model object and template String- 指定者:
composeFile在接口中ComposeTemplate- 返回:
-
-