Possible Duplicate:
Decode Base64 data in Java
I have a method that takes in a String
, which is a Base64 encoding of a PDF document. How can I decode the binary back into a PDF file and then save the PDF file (or just pass back the file as a File
object so the next program can use it).
I need to do this using Java.