Class PasteLambda

  • All Implemented Interfaces:
    com.samskivert.mustache.Mustache.Lambda

    public class PasteLambda
    extends Object
    implements com.samskivert.mustache.Mustache.Lambda
    Writes text that was previously saved. Register:
     additionalProperties.put("paste", new PasteLambda(copyContent, false));
     
    Use:
     {{#paste}}{{/paste}}
     
    • Method Detail

      • execute

        public void execute​(com.samskivert.mustache.Template.Fragment fragment,
                            Writer writer)
                     throws IOException
        Specified by:
        execute in interface com.samskivert.mustache.Mustache.Lambda
        Throws:
        IOException