Looks like there are bits built into Java itself: sun.misc.UUEncoder
Thanks Eric. I saw this but couldn't find any docs on how to use it.
It would be nice if a clean wrapper for it was part of Jakarta Commons Codec though.
Agreed! I looked here also but no luck.
I also found the 'encode' method in the javax.mail.internet.MimeUtility class
but it only accepts an output stream. What if one wants to encode an incoming
byte stream (like an image or sound, maybe?). I'm currently trying to kludge up
something with a ByteArrayOutputStream but it's sure not the "right thing to do".
Thanks again,
Erik
On Nov 2, 2004, at 7:59 PM, Thomas Hicks wrote:
There's got to be something like this already out there.....
I need to uuencode (not Base64) a data file (or stream or byte array).
Someone out there HAS to have written a public-domain Java
class/method to do this already but all I can find are commercial ones.
Is this buried somewhere in the Java APIs or somewhere in all the
mail/internet code of some Jakarta project?
Any help appreciated.
-tom
