Search:

Type: Posts; User: jps

Search: Search took 0.14 seconds.

  1. Replies
    7
    Views
    1,947

    Re: Writing at the EOF ( end of my file)

    2 different methods called at 2 different times for 2 different reasons to do 2 different things.
    Before you were overwriting the file every time. Now you are appending every time. Adjust the code...
  2. Replies
    7
    Views
    1,947

    Re: Writing at the EOF ( end of my file)

    Suggestion? Read the documentation for both classes and choose the one that fits your needs best.

    Tips? Yea when it boils down in the end it really does not matter too much right now HOW* you do...
  3. Replies
    7
    Views
    1,947

    Re: Writing at the EOF ( end of my file)

    Read the file, if it exists, and if there is not a blank line at the end, add a newline character first?
  4. Replies
    7
    Views
    1,947

    Re: Writing at the EOF ( end of my file)

    ...and what did the Oracle Documentation say about the use of the FileOutputStream class and:
    public FileOutputStream(String name, boolean append)
Results 1 to 4 of 4