Class VelocityMailTemplate
java.lang.Object
de.aikiit.mailversendala.template.VelocityMailTemplate
- All Implemented Interfaces:
MailTemplate
Mailing template that is based on Apache Velocity templates.
-
Field Summary
Fields inherited from interface de.aikiit.mailversendala.template.MailTemplate
BASE_NAME_HTML, BASE_NAME_PLAINTEXT -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
VelocityMailTemplate
public VelocityMailTemplate()Instantiate underlying template engine.
-
-
Method Details
-
getHtml
Description copied from interface:MailTemplateReturns HTML contents.- Specified by:
getHtmlin interfaceMailTemplate- Returns:
- mailing content in format HTML.
-
getPlaintext
Description copied from interface:MailTemplateReturns plaintext contents.- Specified by:
getPlaintextin interfaceMailTemplate- Returns:
- mailing content in plaintext format.
-