|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrendsite.engine.TemplateCache
public class TemplateCache
Cache for loadable templates.
This version isn't particularly memory friendly.
10NOV09 - EPG - First package release.
| Constructor Summary | |
|---|---|
TemplateCache()
Construct the cache. |
|
| Method Summary | |
|---|---|
java.lang.String |
getTemplate(java.io.File theFile)
Get a template by path. |
java.lang.String |
getTemplate(java.lang.String path)
Get a template by path. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TemplateCache()
throws java.lang.Throwable
java.lang.Throwable - will only happen if the context is bad or the catalog could not be loaded.| Method Detail |
|---|
public java.lang.String getTemplate(java.io.File theFile)
throws things.common.ThingsException
theFile - a File pointing to the template. Let the context call this. use the context methods to get templates.
things.common.ThingsException
public java.lang.String getTemplate(java.lang.String path)
throws things.common.ThingsException
path - absolute path to the template. Let the context call this. use the context methods to get templates.
things.common.ThingsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||