Do you know how text files are stored on hard disks, that "fixing a single line" in a text file without rewriting the file is quite difficult and often impossible. For this reason often the most straightforward solution is to read the file, fix the line in the representation of the text file's representation in your program and then write the ...
I want to update about 4000 XML files automatically by writing a class which will act as a simulator, that will do it, instead of me opening the files and doing it manually. Things I will like to do on the XML files 1. Export the XML file out of the development server. 2. Search each file for some mime-type class ...