Class S3ResourceLoader


  • public class S3ResourceLoader
    extends org.apache.velocity.runtime.resource.loader.ResourceLoader
    • Field Summary

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

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

      • S3ResourceLoader

        public S3ResourceLoader()
    • Method Detail

      • init

        public void init​(org.apache.commons.collections.ExtendedProperties configuration)
        Specified by:
        init in class org.apache.velocity.runtime.resource.loader.ResourceLoader
      • getResourceStream

        public InputStream getResourceStream​(String source)
                                      throws org.apache.velocity.exception.ResourceNotFoundException
        Specified by:
        getResourceStream in class org.apache.velocity.runtime.resource.loader.ResourceLoader
        Throws:
        org.apache.velocity.exception.ResourceNotFoundException
      • getLastModified

        public long getLastModified​(org.apache.velocity.runtime.resource.Resource resource)
        Specified by:
        getLastModified in class org.apache.velocity.runtime.resource.loader.ResourceLoader
      • isSourceModified

        public boolean isSourceModified​(org.apache.velocity.runtime.resource.Resource resource)
        Specified by:
        isSourceModified in class org.apache.velocity.runtime.resource.loader.ResourceLoader