Class BroadleafClassLoaderTemplateResource

java.lang.Object
org.broadleafcommerce.presentation.thymeleaf3.resolver.BroadleafClassLoaderTemplateResource
All Implemented Interfaces:
org.thymeleaf.templateresource.ITemplateResource

public class BroadleafClassLoaderTemplateResource extends Object implements org.thymeleaf.templateresource.ITemplateResource
  • Field Details

    • RESOURCE_PATH_CACHE

      protected static final Map<String,Boolean> RESOURCE_PATH_CACHE
  • Constructor Details

    • BroadleafClassLoaderTemplateResource

      public BroadleafClassLoaderTemplateResource(ClassLoader classLoader, String path, String characterEncoding)
  • Method Details

    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface org.thymeleaf.templateresource.ITemplateResource
    • getBaseName

      public String getBaseName()
      Specified by:
      getBaseName in interface org.thymeleaf.templateresource.ITemplateResource
    • exists

      public boolean exists()
      Specified by:
      exists in interface org.thymeleaf.templateresource.ITemplateResource
    • getFromCache

      public Boolean getFromCache(String cacheKey)
    • addToCache

      public void addToCache(String cacheKey, Boolean isExist)
    • reader

      public Reader reader() throws IOException
      Specified by:
      reader in interface org.thymeleaf.templateresource.ITemplateResource
      Throws:
      IOException
    • relative

      public org.thymeleaf.templateresource.ITemplateResource relative(String relativeLocation)
      Specified by:
      relative in interface org.thymeleaf.templateresource.ITemplateResource