Reputation: 766
I have a buffered writer that is writing to a text file. For some reason the writer stops writing a long string about half way through. Are there any known issues with using the buffered Writer in java?
Upvotes: 1
Views: 1876
Reputation: 6357
Before writing large text into file, use obj_BufferedWriter.flush().
Upvotes: 2