[ 
https://issues.apache.org/jira/browse/MIME4J-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Markus Wiederkehr updated MIME4J-94:
------------------------------------

    Attachment: mime4j-copyconstructors-draft.patch

Here is a draft that solves the issue by adding copy constructors where 
appropriate. The copy constructors are assisted by a class BodyCloner that is 
capable of copying a Body instance.

Please review. If this approach is acceptable I'll add some javadoc and unit 
tests.

> Make Message, BodyPart, Multipart and Header copyable
> -----------------------------------------------------
>
>                 Key: MIME4J-94
>                 URL: https://issues.apache.org/jira/browse/MIME4J-94
>             Project: JAMES Mime4j
>          Issue Type: New Feature
>    Affects Versions: 0.5
>            Reporter: Markus Wiederkehr
>            Assignee: Markus Wiederkehr
>             Fix For: 0.6
>
>         Attachments: mime4j-copyconstructors-draft.patch
>
>
> Class SingleBody now has an optional copy operation but other DOM classes are 
> still not copyable.
> MIME4J should provide some means to copy a message or parts of a message.

-- 
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