Skip to content

Instantly share code, notes, and snippets.

View spg's full-sized avatar

Simon-Pierre Gingras spg

View GitHub Profile
public class VelocityWrapper {
private final Template template;
private final VelocityContext velocityContext;
private VelocityWrapper(
VelocityEngine velocityEngine,
String templateLocation,
VelocityContext velocityContext) {
this.template = velocityEngine.getTemplate(templateLocation);