Class TemplateResource


  • public class TemplateResource
    extends Object

    A Template Resource

    Since:
    1.0
    Author:
    Andreas Schuler
    • Constructor Detail

      • TemplateResource

        public TemplateResource​(String templateResourceLocation)
        Initializes the location of the resource
        Parameters:
        templateResourceLocation - the location of the resource
      • TemplateResource

        public TemplateResource​(org.springframework.core.io.Resource resource)
        Initializes the location of the resource
             // Example
             new TemplateResource(new ClassPathResource("xyz"));
         
        Parameters:
        resource - the resource