org.apache.struts2.views.velocity
类 StrutsResourceLoader

java.lang.Object
  继承者 org.apache.velocity.runtime.resource.loader.ResourceLoader
      继承者 org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
          继承者 org.apache.struts2.views.velocity.StrutsResourceLoader

public class StrutsResourceLoader
extends org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

Loads resource from the Thread's context ClassLoader.


构造方法摘要
StrutsResourceLoader()
           
 
方法摘要
 InputStream getResourceStream(String name)
           
 
从类 org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader 继承的方法
getLastModified, init, isSourceModified
 
从类 org.apache.velocity.runtime.resource.loader.ResourceLoader 继承的方法
commonInit, getClassName, getModificationCheckInterval, isCachingOn, resourceExists, setCachingOn, setModificationCheckInterval
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

StrutsResourceLoader

public StrutsResourceLoader()
方法详细信息

getResourceStream

public InputStream getResourceStream(String name)
                              throws org.apache.velocity.exception.ResourceNotFoundException
覆盖:
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader 中的 getResourceStream
抛出:
org.apache.velocity.exception.ResourceNotFoundException