Class KarateTemplateResource

java.lang.Object
com.intuit.karate.template.KarateTemplateResource
All Implemented Interfaces:
org.thymeleaf.templateresource.ITemplateResource

public class KarateTemplateResource extends Object implements org.thymeleaf.templateresource.ITemplateResource
Author:
pthomas3
  • Constructor Details

    • KarateTemplateResource

      public KarateTemplateResource(String caller, Resource resource)
  • 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
    • getCaller

      public String getCaller()
    • exists

      public boolean exists()
      Specified by:
      exists in interface org.thymeleaf.templateresource.ITemplateResource
    • 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