This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I think RandomAccessFile is correct as that is the only method to update anything in the file (in a non-sequential manner). All streams, readers and writers access file sequentially. Append can be done by all of them. Any comments? Savithri
Joined: Nov 22, 2008
I think u can modify a file using all three above.U cannot use a OutputStream,but a subclass of it,namely FileOutputStream.Random AccessFile is used for non sequential access and the other two will be used for sequential access. I hope I have been clear enough. ------------------ Come on in !! Drinks are on the house in the Big Moose Saloon !!