Skip to content

Instantly share code, notes, and snippets.

View spg's full-sized avatar
🌩️
In the cloud

Simon-Pierre Gingras spg

🌩️
In the cloud
  • Amazon Web Services
  • Québec, Canada
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);