james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fondermann" <bernd.fonderm...@googlemail.com>
Subject Re: com.sun.mail.util.CRLFOutputStream alternatives (was: Geronimo-JAMES integration)
Date Thu, 19 Jun 2008 06:20:48 GMT
On Wed, Jun 18, 2008 at 1:34 PM, Stefano Bagnara <apache@bago.org> wrote:
> Robert Burrell Donkin ha scritto:
>>
>> On Mon, Jun 16, 2008 at 9:38 PM, Rick McGuire <rickmcg@gmail.com> wrote:
>>>
>>> Stefano Bagnara wrote:
>>>>
>>>> We also depend on com.sun.mail.util.CRLFOutputStream but we should
>>>> definitely replace this with some james class (maybe copied from
>>>> geronimo?)
>>>
>>> Not sure what this class does, so I don't know if Geronimo has a
>>> replacement.  I suspect you'd be better off implementing your own though,
>>> just for implementation independence.
>>
>> if the class does what it says on the tin then JAMES already has at
>> least one replacement
>
> I cannot find an OutputStream class for that in JAMES: we have
> inputstream/reader stuff and we have imap utils to take care of this in byte
> arrays.
>
> I found the org.apache.commons.net.io.ToNetASCIIOutputStream class in
> commons-net, should we use it instead of com.sun.mail.util.CRLFOutputStream?
> We currently have almost 10 classes  in various modules depending on
> CRLFOutputStream.
>
> Stefano

Its worth giving a try.
+1

  Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message