You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org> on 2008/11/30 21:53:44 UTC

[jira] Commented: (MIME4J-87) Add a factory for creating message bodies

    [ https://issues.apache.org/jira/browse/MIME4J-87?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651867#action_12651867 ] 

Robert Burrell Donkin commented on MIME4J-87:
---------------------------------------------

Hi Markus

Could you try to remember to add the standard license boilerplate to the top of any files you add.

Cheers

Robert

> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org