Interface Mustache.TemplateLoader

  • Enclosing class:
    Mustache

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

      • getTemplate

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