|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Template
While Templates already have access to the loader that loaded them, this interface enables them to gain access to their TemplateSource. Also provide information about the source file of the template and the time it was last modified.
| Method Summary | |
|---|---|
long |
getLastModifiedTime()
Returns the last (known) modified time of the template's source file |
File |
getSourceFile()
Returns the .tea source file of this template |
TemplateSource |
getTemplateSource()
Provides a reference to this Template's TemplateSource. |
| Methods inherited from interface org.teatrove.tea.runtime.TemplateLoader.Template |
|---|
execute, getContextType, getName, getParameterNames, getParameterTypes, getTemplateClass, getTemplateLoader, toString |
| Method Detail |
|---|
TemplateSource getTemplateSource()
File getSourceFile()
long getLastModifiedTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||