com.opensymphony.webwork.views.velocity
Class WebWorkResourceLoader
java.lang.Object
org.apache.velocity.runtime.resource.loader.ResourceLoader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
com.opensymphony.webwork.views.velocity.WebWorkResourceLoader
public class WebWorkResourceLoader
- extends org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Loads resource from the Thread's context ClassLoader.
- Version:
- $Revision: 1282 $
- Author:
- $Author: plightbo $
Fields inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader |
className, isCachingOn, modificationCheckInterval, rsvc |
Methods inherited from class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader |
getLastModified, init, isSourceModified |
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 |
WebWorkResourceLoader
public WebWorkResourceLoader()
getResourceStream
public InputStream getResourceStream(String name)
throws org.apache.velocity.exception.ResourceNotFoundException
- Overrides:
getResourceStream
in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
- Throws:
org.apache.velocity.exception.ResourceNotFoundException