接口 ComposeTemplate

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      String compose​(Object dataModel, File templateFile)
      Generate the target content based on data model object and template file
      String compose​(Object dataModel, String templateContent)
      Generate the target content based on data model object and template String
      File composeFile​(Object dataModel, File templateFile, Path composedFilePath)
      Generate the target content file based on data model object and template file
      File composeFile​(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 -
        返回:
      • composeFile

        File composeFile​(Object dataModel,
                         String templateContent,
                         Path composedFilePath)
        Generate the target content file based on data model object and template String
        参数:
        dataModel -
        templateContent -
        composedFilePath -
        返回: