Package adalid.commons.velocity
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 classVelocityFileResourceLoader.IndentationFilterInputStreamUpgrading 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).
-
Constructor Summary
Constructors Constructor Description VelocityFileResourceLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetResourceStream(String name)-
Methods inherited from class org.apache.velocity.runtime.resource.loader.FileResourceLoader
getLastModified, init, isSourceModified, resourceExists
-
-
-
-
Method Detail
-
getResourceStream
public InputStream getResourceStream(String name)
- Overrides:
getResourceStreamin classorg.apache.velocity.runtime.resource.loader.FileResourceLoader
-
-