Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    9,435

    Re: JAVA = Replace a line in a text file

    Can you post the contents of the input file and the contents of the file that is written out?

    For testing you should use different files for input and output.
  2. Replies
    5
    Views
    9,435

    Re: JAVA = Replace a line in a text file

    To change the middle of a file, you need to copy everything before the changed area to an output file, then write the changed part and then copy everything after the changed area to the output file....
Results 1 to 2 of 2