Class MailMessageUtils
java.lang.Object
de.muehlencord.shared.network.mail.MailMessageUtils
Util class to convert between javax.mail.Message and MailMessage objects
- Author:
- Joern Muehlencord (joern@muehlencord.de)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MailMessagegetInstance(javax.mail.Message message) creates a new instance of MailMessage based on the given javax.mail.Message object
-
Constructor Details
-
MailMessageUtils
public MailMessageUtils()
-
-
Method Details
-
getInstance
creates a new instance of MailMessage based on the given javax.mail.Message object- Parameters:
message- the message object to create the message from- Returns:
- the MailMessage object created from the given javax.mail.Message
- Throws:
MailMessageException- if the message cannot be created
-