类 FreemarkerParseFactory

java.lang.Object
org.jeecgframework.minidao.util.FreemarkerParseFactory

public class FreemarkerParseFactory extends Object
版本:
V1.0
作者:
赵俊夫
  • 构造器详细资料

    • FreemarkerParseFactory

      public FreemarkerParseFactory()
  • 方法详细资料

    • isExistTemplate

      public static boolean isExistTemplate(String tplName) throws Exception
      判断模板是否存在
      抛出:
      Exception
    • parseTemplate

      public static String parseTemplate(String tplName, Map<String,Object> paras)
      解析ftl模板
      参数:
      tplName - 模板名
      paras - 参数
      返回:
    • parseTemplateContent

      public static String parseTemplateContent(String tplContent, Map<String,Object> paras)
      解析ftl
      参数:
      tplContent - 模板内容
      paras - 参数
      返回:
      String 模板解析后内容