Interface Mustache.TemplateLoader

  • Enclosing class:
    Mustache

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

      • 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.