|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.component.mail.MailConverters
@Converter public final class MailConverters
JavaMail specific converters.
Method Summary | |
---|---|
static InputStream |
toInputStream(Message message)
Converts the given JavaMail message to an InputStream. |
static InputStream |
toInputStream(Multipart multipart)
Converts the given JavaMail multipart to a InputStream body, where the contenttype of the multipart must be text based (ie start with text). |
static String |
toString(Message message)
Converts the given JavaMail message to a String body. |
static String |
toString(Multipart multipart)
Converts the given JavaMail multipart to a String body, where the contenttype of the multipart must be text based (ie start with text). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Converter public static String toString(Message message) throws MessagingException, IOException
MessagingException
IOException
@Converter public static String toString(Multipart multipart) throws MessagingException, IOException
MessagingException
IOException
@Converter public static InputStream toInputStream(Message message) throws IOException, MessagingException
IOException
MessagingException
@Converter public static InputStream toInputStream(Multipart multipart) throws IOException, MessagingException
IOException
MessagingException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |