LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.controller
Class LyClasspathResourceLoader

java.lang.Object
  extended by org.apache.velocity.runtime.resource.loader.ResourceLoader
      extended by org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
          extended by leon.view.web.jquery.controller.LyClasspathResourceLoader

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


Constructor Summary
LyClasspathResourceLoader()
           
 
Method Summary
 java.io.InputStream getResourceStream(java.lang.String name)
          Get an InputStream so that the Runtime can build a template with it.
 
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, resourceExists, setCachingOn, setModificationCheckInterval
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LyClasspathResourceLoader

public LyClasspathResourceLoader()
Method Detail

getResourceStream

public java.io.InputStream getResourceStream(java.lang.String name)
                                      throws org.apache.velocity.exception.ResourceNotFoundException
Get an InputStream so that the Runtime can build a template with it.

Overrides:
getResourceStream in class org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
Parameters:
name - name of template to get
Returns:
InputStream containing the template
Throws:
org.apache.velocity.exception.ResourceNotFoundException - if template not found in classpath.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com