[
https://issues.apache.org/jira/browse/MIME4J-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Burrell Donkin closed MIME4J-87.
---------------------------------------
Resolution: Fixed
Committed. Many thanks.
> Add a factory for creating message bodies
> -----------------------------------------
>
> Key: MIME4J-87
> URL: https://issues.apache.org/jira/browse/MIME4J-87
> Project: JAMES Mime4j
> Issue Type: New Feature
> Affects Versions: 0.5
> Reporter: Markus Wiederkehr
> Assignee: Robert Burrell Donkin
> Fix For: 0.6
>
> Attachments: mime4j-bodyfactory.patch
>
>
> Currently it is not possible to build a Message object out of the box. This
> is because the user has to write a custom class that holds the message body
> first. TempFileBinaryBody and TempFileTextBody are package private and there
> is no other alternative.
> But instead of making these classes public a factory class should be added.
> This factory should provide methods for
> creating text and binary bodies from various sources such as InputStreams or
> Strings.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]