public interface ISource
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCacheKey()
cache key used to cache, return null if do not cache the template
注意:如果不希望缓存从该 ISource 解析出来的 Template 对象
让 getCacheKey() 返回 null 值即可
|
StringBuilder |
getContent()
content of ISource
|
String |
getEncoding()
encoding of content
|
boolean |
isModified()
reload template if modified on devMode
|
boolean isModified()
String getCacheKey()
StringBuilder getContent()
String getEncoding()
Copyright © 2024. All rights reserved.