Package de.uplanet.lucy.server.mail
Klasse ParsedMessage
java.lang.Object
de.uplanet.lucy.server.mail.ParsedMessage
A parsed message with information about a mail.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classBuilder class (builder pattern). -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ParsedMessage.BuildercreateBuilder(List<javax.mail.Address> p_strSenders, List<javax.mail.Address> p_recipients) Create a new builder instance.List<javax.mail.Address> List<javax.mail.Address> javax.mail.AddressList<javax.mail.Address>
-
Methodendetails
-
createBuilder
public static ParsedMessage.Builder createBuilder(List<javax.mail.Address> p_strSenders, List<javax.mail.Address> p_recipients) Create a new builder instance.- Parameter:
p_strSenders- The sender(s) of the mail.p_recipients- The recipient(s) of the mail.- Gibt zurück:
- The builder instance.
-
getPlainTextContent
- Gibt zurück:
- The plain text content (if no plain text is in the mail it is extracted from the HTML content).
-
getRawHTMLContent
- Gibt zurück:
- The raw HTML content (not sanitized - if the mail has no HTML content it is created from the plain text).
-
getHTMLContent
- Gibt zurück:
- The HTML content (if the mail has no HTML content it is created from the plain text).
-
getSenders
- Gibt zurück:
- The senders.
-
getSender
public javax.mail.Address getSender()- Gibt zurück:
- The sender.
-
getRecipients
- Gibt zurück:
- The recipients.
-
getRecipientsCc
- Gibt zurück:
- The Cc-recipients (an empty set if non is specified in the mail).
-
getAttachments
- Gibt zurück:
- The attachments (an empty set if non is specified in the mail).
-