Not necessarily. Did you try it? You can add a slight twist to the method I mentioned if you're files are huge and you worry about reading it all into memory...as you read the first file, parse it...
Type: Posts; User: copeg
Not necessarily. Did you try it? You can add a slight twist to the method I mentioned if you're files are huge and you worry about reading it all into memory...as you read the first file, parse it...
Read the file and parse as desired into a StringBuilder/Buffer, then over-write the file with the new data. You could wrap a FileInputStream and FileOutputStream in a BufferedReader/BufferedWriter to...