I need some guidance on achieving the following in Java:
1. Open a file and seek to the end of that file (file_a)
2. Open a second file (file_b) and read each line. If the line begins with a digit (0-9) then add that line (append) to file_a
3. Repeat Step (2) until EOF is reached in file_b
4. Close file_b
5. Close file_a
Any code snippets to do the above would be appreciated!


LinkBack URL
About LinkBacks
Reply With Quote