com.atlassian.confluence.plugins.emailgateway.service
Class DefaultReceivedEmailMimeConverter

java.lang.Object
  extended by com.atlassian.confluence.plugins.emailgateway.service.DefaultReceivedEmailMimeConverter
All Implemented Interfaces:
ReceivedEmailMimeConverter

public class DefaultReceivedEmailMimeConverter
extends java.lang.Object
implements ReceivedEmailMimeConverter


Constructor Summary
DefaultReceivedEmailMimeConverter(AttachmentConverterService attachmentConverterService)
           
 
Method Summary
 ReceivedEmail convertMimeMessage(javax.mail.internet.MimeMessage mimeMessage, javax.mail.internet.InternetAddress recipient)
          Converts a JavaMail MimeMessage into a ReceivedEmail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultReceivedEmailMimeConverter

public DefaultReceivedEmailMimeConverter(AttachmentConverterService attachmentConverterService)
Method Detail

convertMimeMessage

public ReceivedEmail convertMimeMessage(javax.mail.internet.MimeMessage mimeMessage,
                                        javax.mail.internet.InternetAddress recipient)
                                 throws javax.mail.MessagingException
Description copied from interface: ReceivedEmailMimeConverter
Converts a JavaMail MimeMessage into a ReceivedEmail

Specified by:
convertMimeMessage in interface ReceivedEmailMimeConverter
Parameters:
mimeMessage - The MimeMessage to convert
recipient - The address representing the actual recipient of the MimeMessage
Returns:
The ReceivedEmail representing the results of the conversion
Throws:
javax.mail.MessagingException - If the conversion fails


Copyright © 2003-2014 Atlassian. All Rights Reserved.