Class HybridTemplateLoader

  • All Implemented Interfaces:
    freemarker.cache.TemplateLoader

    public class HybridTemplateLoader
    extends freemarker.cache.URLTemplateLoader
    Attempts to load the template from the class-path, followed by the file-system, otherwise fails.
    Author:
    jwhite
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.net.URL getURL​(java.lang.String name)  
      • Methods inherited from class freemarker.cache.URLTemplateLoader

        canonicalizePrefix, closeTemplateSource, findTemplateSource, getLastModified, getReader, getURLConnectionUsesCaches, setURLConnectionUsesCaches
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HybridTemplateLoader

        public HybridTemplateLoader()
    • Method Detail

      • getURL

        protected java.net.URL getURL​(java.lang.String name)
        Specified by:
        getURL in class freemarker.cache.URLTemplateLoader