Package adalid.commons.velocity
Class VelocityEngineer
java.lang.Object
adalid.commons.velocity.VelocityEngineer
- Author:
- Jorge Campins
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheck()static String[]static StringWriterstatic StringWriterstatic voidwrite(StringWriter sw, String filename, String charset2, boolean pretty) static voidstatic 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)
-
Constructor Details
-
VelocityEngineer
public VelocityEngineer()
-
-
Method Details
-
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
-