Interface Mustache.TemplateLoader

Enclosing class:
Mustache

public static interface Mustache.TemplateLoader
Handles loading partial templates.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a reader for the template with the supplied name.
  • Method Details

    • getTemplate

      Reader getTemplate(String name) throws Exception
      Returns a reader for the template with the supplied name. Reader will be closed by callee.
      Throws:
      Exception - if the template could not be loaded for any reason.