I know the Apache Axis library has a way to do it.
org.apache.axis.encoding.Base64
But there might be (probably are) other ways.
> Hello,
>
[quoted text clipped - 4 lines]
>
> Alexander Schneider
deadsea - 12 Mar 2005 17:38 GMT
You can encode and decode Base64 in Java with these libraries:
http://ostermiller.org/utils/Base64.html
There are also 6 other pages with Base64 encoding/decoding information
listed at the bottom of the page.