com.github.mustachejava
Class MustacheParser

java.lang.Object
  extended by com.github.mustachejava.MustacheParser

public class MustacheParser
extends java.lang.Object

The parser generates callbacks into the MustacheFactory to build them. Do not use these directly as you must manage the Mustache object lifecycle as well.

User: sam Date: 5/14/11 Time: 3:52 PM


Field Summary
static java.lang.String DEFAULT_EM
           
static java.lang.String DEFAULT_SM
           
 
Constructor Summary
protected MustacheParser(MustacheFactory cf)
           
 
Method Summary
 Mustache compile(java.io.Reader reader, java.lang.String file)
           
protected  Mustache compile(java.io.Reader reader, java.lang.String tag, java.util.concurrent.atomic.AtomicInteger currentLine, java.lang.String file, java.lang.String sm, java.lang.String em)
           
 Mustache compile(java.io.Reader reader, java.lang.String file, java.lang.String sm, java.lang.String em)
           
 Mustache compile(java.lang.String file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SM

public static final java.lang.String DEFAULT_SM
See Also:
Constant Field Values

DEFAULT_EM

public static final java.lang.String DEFAULT_EM
See Also:
Constant Field Values
Constructor Detail

MustacheParser

protected MustacheParser(MustacheFactory cf)
Method Detail

compile

public Mustache compile(java.lang.String file)

compile

public Mustache compile(java.io.Reader reader,
                        java.lang.String file)

compile

public Mustache compile(java.io.Reader reader,
                        java.lang.String file,
                        java.lang.String sm,
                        java.lang.String em)

compile

protected Mustache compile(java.io.Reader reader,
                           java.lang.String tag,
                           java.util.concurrent.atomic.AtomicInteger currentLine,
                           java.lang.String file,
                           java.lang.String sm,
                           java.lang.String em)
                    throws MustacheException
Throws:
MustacheException


Copyright © 2012. All Rights Reserved.