We have a need to be able to identify how an SWA attachment was encoded in the message, by accessing the Content Transfer Encoding. Currently the DataHandler does contain this info, but there is no method you can use to get to the data.
I have created a fix and an accompanying testcase. Please could you review the changes and if you're happy please could you integrate the fix.
I intend to post on the Axiom mailing list to broadcast my suggestion.
I've attached the diff details as an attachment.