|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tiles.request.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
IOException
public void closeTemplateSource(Object templateSource) throws IOException
IOException
public long getLastModified(Object templateSource)
public Reader getReader(Object templateSource, String encoding) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |