Showing posts with label bufferedwriter. Show all posts
Showing posts with label bufferedwriter. Show all posts

Thursday, September 26, 2013

Java reading and writing file line by line

We will be using BufferedReader to read a structured file line by line and then using BufferedWriter to write it out.

The example takes some structured data and creates MySQL insert statements for each dataset and then outputs it as a file.