Search:

Type: Posts; User: Junky

Search: Search took 0.17 seconds.

  1. Replies
    13
    Views
    1,610

    Re: PrintStream, strings and reading from a file.

    Whenever you use a Writer you must close/flush it when you are finished. Otherwise data is left in the buffer.
  2. Replies
    13
    Views
    1,610

    Re: PrintStream, strings and reading from a file.

    If the contents are not too long you can store the entire story in memory and then write it out at the end. If you are allowed I suggest using a FileWriter as it is easier to use. If you need to...
Results 1 to 2 of 2