|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.apache.velocity.runtime.resource.loader.ResourceLoader
|
+--com.infodesire.infobit.render.velocity.AdvancedClasspathLoader
advanced loader for classpath to overcome various velocity bottlenecks
| Field Summary |
| Fields inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader |
className, isCachingOn, modificationCheckInterval, rsvc |
| Constructor Summary | |
AdvancedClasspathLoader()
|
|
| Method Summary | |
long |
getLastModified(org.apache.velocity.runtime.resource.Resource resource)
Defaults to return 0 |
static java.net.URL |
getResource(java.lang.String resourceName)
Gets the Resource attribute of the AdvancedClasspathLoader class |
java.io.InputStream |
getResourceStream(java.lang.String name)
Get an InputStream so that the Runtime can build a template with it. |
void |
init(org.apache.commons.collections.ExtendedProperties configuration)
DOCUMENT METHOD |
boolean |
isSourceModified(org.apache.velocity.runtime.resource.Resource resource)
Defaults to return false. |
| Methods inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader |
commonInit, getClassName, getModificationCheckInterval, isCachingOn, setCachingOn, setModificationCheckInterval |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AdvancedClasspathLoader()
| Method Detail |
public static java.net.URL getResource(java.lang.String resourceName)
resourceName - Description of Parameter
public java.io.InputStream getResourceStream(java.lang.String name)
throws org.apache.velocity.exception.ResourceNotFoundException
getResourceStream in class org.apache.velocity.runtime.resource.loader.ResourceLoadername - name of template to get
org.apache.velocity.exception.ResourceNotFoundException - if template not found in classpath.public boolean isSourceModified(org.apache.velocity.runtime.resource.Resource resource)
isSourceModified in class org.apache.velocity.runtime.resource.loader.ResourceLoaderresource - Description of Parameter
public long getLastModified(org.apache.velocity.runtime.resource.Resource resource)
getLastModified in class org.apache.velocity.runtime.resource.loader.ResourceLoaderresource - Description of Parameter
public void init(org.apache.commons.collections.ExtendedProperties configuration)
init in class org.apache.velocity.runtime.resource.loader.ResourceLoaderconfiguration - Description of Parameter
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||