Package com.spun.util.velocity
Class VelocityParser
java.lang.Object
com.spun.util.velocity.VelocityParser
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
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
-