org.apache.camel.component.mail
Class MailConverters

java.lang.Object
  extended by org.apache.camel.component.mail.MailConverters

public class MailConverters
extends Object

Version:
$Revision: 1.1 $

Constructor Summary
MailConverters()
           
 
Method Summary
 String toString(Message message)
          Converts the given JavaMail message to a String body
static String toString(Multipart multipart)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailConverters

public MailConverters()
Method Detail

toString

public String toString(Message message)
                throws MessagingException,
                       IOException
Converts the given JavaMail message to a String body

Parameters:
message - the message
Returns:
the String content
Throws:
MessagingException
IOException

toString

public static String toString(Multipart multipart)
                       throws MessagingException,
                              IOException
Throws:
MessagingException
IOException


Copyright © 2007 Apache Software Foundation. All Rights Reserved.