Package com.spun.util.velocity
Class VelocityParser
java.lang.Object
com.spun.util.velocity.VelocityParser
public class VelocityParser extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVelocityParser.Defaultstatic classVelocityParser.FileParseCallstatic classVelocityParser.JarParseCall -
Constructor Summary
Constructors Constructor Description VelocityParser() -
Method Summary
Modifier and Type Method Description static org.apache.velocity.app.VelocityEngineinitializeEngine(Properties props)static Stringparse(String template, Properties props, ContextAware process)static Stringparse(String template, Properties props, ContextAware[] process)static Writerparse(String template, Properties props, ContextAware[] process, Writer out)static StringparseFile(String template, ContextAware process)static StringparseFile(String templateFileName, File outputFile, ContextAware process)Parse a File to a Filestatic StringparseFile(String templateFileName, String outputFileName, ContextAware process)Parse a File to a Filestatic StringparseFromClassPath(Class<?> clazz, String filename, ContextAware context)static StringparseJar(String template, ContextAware process)static StringparseString(String template, ContextAware process)
-
Constructor Details
-
VelocityParser
public VelocityParser()
-
-
Method Details
-
parseFile
-
parseJar
-
parseString
-
parse
-
parse
-
parse
-
initializeEngine
public static org.apache.velocity.app.VelocityEngine initializeEngine(Properties props) throws Exception- Throws:
Exception
-
parseFile
public static String parseFile(String templateFileName, String outputFileName, ContextAware process)Parse a File to a File -
parseFile
Parse a File to a File -
parseFromClassPath
-