Hi, Nicholas, I'm just a student that is enjoying a lot this java world, so I hope I can help you.
First of all you need to read your Binary file into a variable that references a static memory, look for the classes ObjectInputStream and FileInputStream. They can read the file to you. After that, you must use the class FileWriter, to write your text file properly, or if you prefer, the class Formater can do the same even better! Sorry for my poor english and knowledge, but I think that it solves! Best regards, Vitor Ninvit 2009/9/30 nicholas ndegwa <ndegwa...@yahoo.com> > > Hi All. > I need some help. i need java code that will read a binary file called > "test1.txt" and convert it to text or ascii and print the results to > another file called "test2.txt". > any help will be highly appreciated. > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---