forked from fanruan/finekit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
430 B
19 lines
430 B
package com.fanruan.api.util; |
|
|
|
import com.fr.base.TemplateUtils; |
|
|
|
import java.util.Map; |
|
|
|
public class TemplateKit { |
|
|
|
/** |
|
* 根据参数, 来计算文档字符串 |
|
* @param tpl |
|
* @param map |
|
* @return 返回计算后的值 |
|
* @throws Exception |
|
*/ |
|
public static String renderParameter4Tpl(String tpl, Map map) throws Exception { |
|
return TemplateUtils.renderParameter4Tpl(tpl, map); |
|
} |
|
}
|
|
|