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
             Fix For: 0.6


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]

Reply via email to