Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

validate base64 content

843834Jan 13 2009 — edited Jan 14 2009
hi,

following my previous post, I would like to validate attachment base64 content before decoding it.
I've read the FAQ about some similar question but all methods i've seen in javamail do the work "in background".

My goal is : get the (mime)bodypart ; validate((mimeBodyPart); if validate() is true => getContent and so on ...!
So How can i read and check each caracter of the non decoded bodypart before doing anything esle.

I don't know how to read bodypart without decode it in fact !! (i've tried datahandler, getContent, ...)
Sure, i missed something ...!

thanks for your help !

Regards
laurent
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 11 2009
Added on Jan 13 2009
2 comments
326 views