Package org.testng.mustache
Class Mustache
- java.lang.Object
-
- org.testng.mustache.Mustache
-
public class Mustache extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Mustache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
findClosingIndex(java.lang.String template, int ti, java.lang.String conditionalVariable)
static void
main(java.lang.String[] args)
private void
p(java.lang.String string)
java.lang.String
run(java.lang.String template, java.util.Map<java.lang.String,java.lang.Object> m)
(package private) java.lang.String
run(java.lang.String template, Model model)
-
-
-
Method Detail
-
run
public java.lang.String run(java.lang.String template, java.util.Map<java.lang.String,java.lang.Object> m) throws java.io.IOException
- Throws:
java.io.IOException
-
run
java.lang.String run(java.lang.String template, Model model) throws java.io.IOException
- Throws:
java.io.IOException
-
findClosingIndex
private int findClosingIndex(java.lang.String template, int ti, java.lang.String conditionalVariable)
-
p
private void p(java.lang.String string)
-
main
public static void main(java.lang.String[] args) throws java.io.IOException
- Throws:
java.io.IOException
-
-