public static class EmailServer.VelocityEmailLoader extends Object implements EmailServer.EmailLoader, ContextAware
ContextAware.ContextAwareMap| Modifier and Type | Field and Description |
|---|---|
static String |
HTML_BODY |
static String |
SUBJECT |
static String |
TEXT_BODY |
| Constructor and Description |
|---|
VelocityEmailLoader(String template,
ParseCall parser,
ContextAware contextAware) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHtmlBody() |
String |
getSubject() |
String |
getTextBody() |
void |
load(EmailServer server) |
void |
setupContext(org.apache.velocity.context.Context context) |
public static String TEXT_BODY
public static String HTML_BODY
public static String SUBJECT
public VelocityEmailLoader(String template, ParseCall parser, ContextAware contextAware)
public void load(EmailServer server)
load in interface EmailServer.EmailLoaderpublic String getTextBody()
public String getHtmlBody()
public String getSubject()
public void setupContext(org.apache.velocity.context.Context context)
setupContext in interface ContextAwareCopyright © 2018. All rights reserved.