Package adalid.commons.velocity
Class VelocityEngineer
- java.lang.Object
-
- adalid.commons.velocity.VelocityEngineer
-
public class VelocityEngineer extends Object
- Author:
- Jorge Campins
-
-
Constructor Summary
Constructors Constructor Description VelocityEngineer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheck()static String[]getFileResourceLoaderPathArray()static StringWritermerge(org.apache.velocity.VelocityContext context, String tempname)static StringWritermerge(org.apache.velocity.VelocityContext context, String tempname, String encoding)static voidwrite(StringWriter sw, String filename, String charset2, boolean pretty)static voidwrite(org.apache.velocity.VelocityContext context, String tempname, String filename)static voidwrite(org.apache.velocity.VelocityContext context, String tempname, String filename, String charset1, String charset2)static voidwrite(org.apache.velocity.VelocityContext context, String tempname, String filename, String charset1, String charset2, boolean pretty)
-
-
-
Method Detail
-
getFileResourceLoaderPathArray
public static String[] getFileResourceLoaderPathArray()
- Returns:
- the file resource loader path array
-
check
public static void check()
-
merge
public static StringWriter merge(org.apache.velocity.VelocityContext context, String tempname) throws Exception
- Throws:
Exception
-
merge
public static StringWriter merge(org.apache.velocity.VelocityContext context, String tempname, String encoding) throws Exception
- Throws:
Exception
-
write
public static void write(org.apache.velocity.VelocityContext context, String tempname, String filename) throws Exception- Throws:
Exception
-
write
public static void write(org.apache.velocity.VelocityContext context, String tempname, String filename, String charset1, String charset2) throws Exception- Throws:
Exception
-
write
public static void write(org.apache.velocity.VelocityContext context, String tempname, String filename, String charset1, String charset2, boolean pretty) throws Exception- Throws:
Exception
-
write
public static void write(StringWriter sw, String filename, String charset2, boolean pretty) throws Exception
- Throws:
Exception
-
-