|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.apache.tiles.freemarker.servlet.WebappClassTemplateLoader
public class WebappClassTemplateLoader
Delegates loading templates using a WebappTemplateLoader and, if not
found, a ClassTemplateLoader. The resources are loaded from the
webapp root and from the classpath root.
| Constructor Summary | |
|---|---|
WebappClassTemplateLoader(ServletContext servletContext)
Constructor. |
|
| Method Summary | |
|---|---|
void |
closeTemplateSource(Object templateSource)
|
Object |
findTemplateSource(String name)
|
long |
getLastModified(Object templateSource)
|
Reader |
getReader(Object templateSource,
String encoding)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebappClassTemplateLoader(ServletContext servletContext)
servletContext - The servlet context.| Method Detail |
|---|
public Object findTemplateSource(String name)
throws IOException
findTemplateSource in interface freemarker.cache.TemplateLoaderIOException
public void closeTemplateSource(Object templateSource)
throws IOException
closeTemplateSource in interface freemarker.cache.TemplateLoaderIOExceptionpublic long getLastModified(Object templateSource)
getLastModified in interface freemarker.cache.TemplateLoader
public Reader getReader(Object templateSource,
String encoding)
throws IOException
getReader in interface freemarker.cache.TemplateLoaderIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||