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 "Markus Wiederkehr (JIRA)" <se...@james.apache.org> on 2008/12/30 21:26:44 UTC

[jira] Created: (MIME4J-94) Make Message, BodyPart, Multipart and Header copyable

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


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


[jira] Updated: (MIME4J-94) Make Message, BodyPart, Multipart and Header copyable

Posted by "Markus Wiederkehr (JIRA)" <se...@james.apache.org>.
     [ 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (MIME4J-94) Make Message, BodyPart, Multipart and Header copyable

Posted by "Markus Wiederkehr (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/MIME4J-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Wiederkehr resolved MIME4J-94.
-------------------------------------

    Resolution: Fixed

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