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
-
Method Summary
-
Constructor Details
-
VelocityMailTemplate
public VelocityMailTemplate()Instantiate underlying template engine.
-
-
Method Details
-
getHtml
- Specified by:
getHtml
in interfaceMailTemplate
- Returns:
- mailing content in format HTML.
-
getPlaintext
- Specified by:
getPlaintext
in interfaceMailTemplate
- Returns:
- mailing content in plain text format.
-