| Package | Description |
|---|---|
| ru.dlabs71.library.email.dto.message.outgoing |
This package contains all the DTOs for outgoing messages.
|
| ru.dlabs71.library.email.util |
This package contains all the helper classes that are used by the library or can be used by you.
|
| Modifier and Type | Method and Description |
|---|---|
TemplatedOutgoingMessage |
TemplatedOutgoingMessage.TemplatedMessageBuilder.build()
Builds and returns a new instance of
TemplatedOutgoingMessage. |
protected String |
TemplatedOutgoingMessage.constructContent(String path,
Map<String,Object> params)
Creates text content from a path to a templated file and parameters for this one.
|
| Constructor and Description |
|---|
TemplatedOutgoingMessage(String subject,
String pathToTemplate,
Map<String,Object> params,
Charset charsetContent,
ContentMessageType contentType,
Set<EmailParticipant> recipientEmail)
The constructor if this message.
|
TemplatedOutgoingMessage(String subject,
String pathToTemplate,
Map<String,Object> params,
Charset charsetContent,
ContentMessageType contentType,
Set<EmailParticipant> recipientEmail,
List<EmailAttachment> attachments,
TransferEncoder transferEncoder)
The constructor if this message.
|
TemplatedOutgoingMessage(String subject,
String pathToTemplate,
Map<String,Object> params,
Set<EmailParticipant> recipientEmail)
The constructor if this message.
|
TemplatedOutgoingMessage(String subject,
String pathToTemplate,
Map<String,Object> params,
Set<EmailParticipant> recipientEmail,
List<EmailAttachment> attachments)
The constructor if this message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
TemplateUtils.construct(String pathToTemplate,
Map<String,Object> params)
It returns the string constructed from the template and its parameters.
|
org.apache.velocity.Template |
TemplateUtils.createTemplate(String pathToTemplate)
This method creates a template object by using a path to the template.
|
Copyright © 2023. All rights reserved.