Class VelocityFileResourceLoader

java.lang.Object
org.apache.velocity.runtime.resource.loader.ResourceLoader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
adalid.commons.velocity.VelocityFileResourceLoader

public class VelocityFileResourceLoader extends org.apache.velocity.runtime.resource.loader.FileResourceLoader
Author:
Jorge Campins
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Upgrading from Velocity 2.0 to Velocity 2.1 (https://velocity.apache.org/engine/2.1/upgrading.html) The ResourceLoader class API has replaced InputStream getters by Reader getters: InputStream ResourceLoader.getResourceStream(String name) has been replaced by a Reader ResourceLoader.getResourceReader(String name, String encoding).
  • Field Summary

    Fields inherited from class org.apache.velocity.runtime.resource.loader.ResourceLoader

    className, isCachingOn, log, modificationCheckInterval, rsvc
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.apache.velocity.runtime.resource.loader.FileResourceLoader

    getLastModified, init, isSourceModified, resourceExists

    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 Details

    • VelocityFileResourceLoader

      public VelocityFileResourceLoader()
  • Method Details

    • getResourceStream

      public InputStream getResourceStream(String name)
      Overrides:
      getResourceStream in class org.apache.velocity.runtime.resource.loader.FileResourceLoader