Package de.uplanet.lucy.server.mail
Klasse ParsedMessage.Builder
java.lang.Object
de.uplanet.lucy.server.mail.ParsedMessage.Builder
- Umschließende Klasse:
ParsedMessage
Builder class (builder pattern).
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaddAttachment(Attachment p_attachment) Add an attachment.create()setHTMLContent(String p_strHTMLContent) Set the HTML content.setPlainTextContent(String p_strPlainTextContent) Set the plain text content.setRecipientsCc(List<javax.mail.Address> p_recipientsCc) Set the Cc recipients
-
Methodendetails
-
setRecipientsCc
Set the Cc recipients- Parameter:
p_recipientsCc- The Cc recipients.- Gibt zurück:
- This builder instance.
-
setPlainTextContent
Set the plain text content.- Parameter:
p_strPlainTextContent- The plain text content.- Gibt zurück:
- This builder instance.
-
setHTMLContent
Set the HTML content.- Parameter:
p_strHTMLContent- The HTML content.- Gibt zurück:
- This builder instance.
-
addAttachment
Add an attachment.- Parameter:
p_attachment- The attachment to add.- Gibt zurück:
- This builder instance.
-
create
- Gibt zurück:
- A new parsed message instance.
-