james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Burrell Donkin" <robertburrelldon...@gmail.com>
Subject Re: [mailet] Base64?
Date Sun, 16 Nov 2008 11:57:30 GMT
On Sat, Nov 15, 2008 at 7:07 PM, Stefano Bagnara <apache@bago.org> wrote:
> Robert Burrell Donkin ha scritto:
>> http://svn.apache.org/repos/asf/james/server/trunk/javamail-util/src/main/java/org/apache/james/util/codec/Base64.java
>> is a simple base 64 encoding utility. it's currently in javamail utils
>> in James. i was wondering whether there's anywhere better for it...
>>
>> mime4j?
>> mailet-base?
>>
>> or it's best to leave it where it is now...
>
> IIRC the base64 encoding done in that class is specific for the Auth
> procedures. E.g: it appends \0 somewhere...

yes - i see now

it's not really a general codec but an authentication specific utility
shared by NNTP and SMTP. i'll add something to the javadocs to this
effect.

would it be better to repackage and rename to avoid confusion with
actual universal codecs?

- robert

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