接口 ComposeTemplate
-
public interface ComposeTemplate- 作者:
- Yun
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Stringcompose(Object dataModel, File templateFile)Generate the target content based on data model object and template fileStringcompose(Object dataModel, String templateContent)Generate the target content based on data model object and template StringFilecomposeFile(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
-
-
-
方法详细资料
-
compose
String compose(Object dataModel, File templateFile)
Generate the target content based on data model object and template file- 参数:
dataModel-templateFile-- 返回:
-
compose
String compose(Object dataModel, String templateContent)
Generate the target content based on data model object and template String- 参数:
dataModel-templateContent-- 返回:
-
composeFile
File composeFile(Object dataModel, File templateFile, Path composedFilePath)
Generate the target content file based on data model object and template file- 参数:
dataModel-templateFile-composedFilePath-- 返回:
-
-