VelocityServices

VelocityServices provides static methods to invoke a Velocity template.

VelocityServices Properties

LOG_LEVEL_DEBUG Debug log level (value 0)
LOG_LEVEL_ERROR Error log level (value 3)
LOG_LEVEL_INFO Info log level (value 1)
LOG_LEVEL_WARN Warn log level (value 2)

VelocityServices Functions

invokeTemplateFromFile VelocityServices.invokeTemplateFromFile( fileName [, logLevel ] ) Invokes the Velocity template contained in the file specified by fileName.
invokeTemplateFromInlineString VelocityServices.invokeTemplateFromInlineString( templateString [, logLevel ] ) Invokes the Velocity template contained in parameter templateString.