Class VelocityUtil.VelocityTemplateMerger
java.lang.Object
de.uplanet.lucy.server.auxiliaries.VelocityUtil.VelocityTemplateMerger
- Enclosing class:
- VelocityUtil
- 
Method SummaryModifier and TypeMethodDescriptionGet the string output.Get the output encoding.Get the output file.org.apache.velocity.VelocityContextGet the Velocity context used by this merger.voidmerge()Merge the Velocity template with the given context.voidsetOutputEncoding(String p_strOutputEncoding) Set the output encoding.voidsetOutputFile(String p_strOutputFile) Set the output file.
- 
Method Details- 
mergeMerge the Velocity template with the given context.- Throws:
- Exception- If an error occurred.
 
- 
getVelocityContextpublic org.apache.velocity.VelocityContext getVelocityContext()Get the Velocity context used by this merger.- Returns:
- The Velocity context used by this merger.
 
- 
getOutputFileGet the output file.- Returns:
- The output file.
 
- 
setOutputFileSet the output file.- Parameters:
- p_strOutputFile- The output file.
 
- 
getOutputEncodingGet the output encoding.- Returns:
- The output encoding.
 
- 
setOutputEncodingSet the output encoding.- Parameters:
- p_strOutputEncoding- The output encoding.
 
- 
getOutputGet the string output.If this template merger was configured for file output, this method returns null.- Returns:
- The string output, or null.
 
 
-