public class JtwigUtils extends Object
| Constructor and Description |
|---|
JtwigUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
render(String location,
com.lyncode.jtwig.JtwigModelMap model) |
static void |
renderTo(File outputFile,
String templateLocation,
com.lyncode.jtwig.JtwigModelMap modelMap) |
public static String render(String location, com.lyncode.jtwig.JtwigModelMap model) throws com.lyncode.jtwig.exception.ParseException, com.lyncode.jtwig.exception.CompileException, com.lyncode.jtwig.exception.RenderException
com.lyncode.jtwig.exception.ParseExceptioncom.lyncode.jtwig.exception.CompileExceptioncom.lyncode.jtwig.exception.RenderExceptionpublic static void renderTo(File outputFile, String templateLocation, com.lyncode.jtwig.JtwigModelMap modelMap) throws FileNotFoundException, com.lyncode.jtwig.exception.ParseException, com.lyncode.jtwig.exception.CompileException, com.lyncode.jtwig.exception.RenderException
FileNotFoundExceptioncom.lyncode.jtwig.exception.ParseExceptioncom.lyncode.jtwig.exception.CompileExceptioncom.lyncode.jtwig.exception.RenderExceptionCopyright © 2014. All Rights Reserved.