public interface RenderEngine
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
exist(String template)
exist 的作用是用来在 process 执行之前,让渲染器检查一下,要执行的 模板是否存在。
|
void |
initEngine(AppContext appContext)
初始化引擎
|
void |
process(RenderInvoker invoker,
Writer writer)
执行模版引擎
|
void initEngine(AppContext appContext) throws Throwable
Throwablevoid process(RenderInvoker invoker, Writer writer) throws Throwable
Throwableboolean exist(String template) throws IOException
IOException