类 FreeMarkers
java.lang.Object
com.jeeplus.devtools.util.FreeMarkers
FreeMarkers工具类
- 版本:
- 2021-01-15
- 作者:
- jeeplus
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static freemarker.template.ConfigurationbuildConfiguration(String directory) static voidstatic StringrenderString(String templateString, Map<String, ?> model) static StringrenderTemplate(freemarker.template.Template template, Object model)
-
构造器详细资料
-
FreeMarkers
public FreeMarkers()
-
-
方法详细资料
-
renderString
- 抛出:
Exception
-
renderTemplate
public static String renderTemplate(freemarker.template.Template template, Object model) throws Exception - 抛出:
Exception
-
buildConfiguration
public static freemarker.template.Configuration buildConfiguration(String directory) throws IOException - 抛出:
IOException
-
main
- 抛出:
IOException
-