com.samskivert.mustache
Interface Mustache.TemplateLoader

Enclosing class:
Mustache

public static interface Mustache.TemplateLoader

Used to handle partials.


Method Summary
 java.io.Reader getTemplate(java.lang.String name)
          Returns a reader for the template with the supplied name.
 

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.

Throws:
java.lang.Exception - if the template could not be loaded for any reason.


Copyright © 2011. All Rights Reserved.