java IO to write to txt file data loss

When data is written to the file large number of rows, but in the end there has been loss of data, because there is no buffer zone will refresh.

After each write added generally flush () function can be

Guess you like

Origin www.cnblogs.com/jayinnn/p/11617438.html