public class VelocityParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VelocityParser.Default |
static class |
VelocityParser.FileParseCall |
static class |
VelocityParser.JarParseCall |
| Constructor and Description |
|---|
VelocityParser() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.velocity.app.VelocityEngine |
initializeEngine(Properties props) |
static String |
parse(String template,
Properties props,
ContextAware process) |
static String |
parse(String template,
Properties props,
ContextAware[] process) |
static Writer |
parse(String template,
Properties props,
ContextAware[] process,
Writer out) |
static String |
parseFile(String template,
ContextAware process) |
static String |
parseFile(String templateFileName,
File outputFile,
ContextAware process)
Parse a File to a File
|
static String |
parseFile(String templateFileName,
String outputFileName,
ContextAware process)
Parse a File to a File
|
static String |
parseFromClassPath(Class<?> clazz,
String filename,
ContextAware context) |
static String |
parseJar(String template,
ContextAware process) |
static String |
parseString(String template,
ContextAware process) |
public static String parseFile(String template, ContextAware process)
public static String parseJar(String template, ContextAware process)
public static String parseString(String template, ContextAware process)
public static String parse(String template, Properties props, ContextAware process)
public static String parse(String template, Properties props, ContextAware[] process)
public static Writer parse(String template, Properties props, ContextAware[] process, Writer out)
public static org.apache.velocity.app.VelocityEngine initializeEngine(Properties props) throws Exception
Exceptionpublic static String parseFile(String templateFileName, String outputFileName, ContextAware process)
public static String parseFile(String templateFileName, File outputFile, ContextAware process)
public static String parseFromClassPath(Class<?> clazz, String filename, ContextAware context)
Copyright © 2021. All rights reserved.