• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creating text file

 
bagaria kushal
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everyone,


I need to create a text file in which i have to write a pretty much large amount amount of data.
So please suggest me the best method to this which is fast and at the same time consistent also.
Thanks
 
Stephan van Hulst
Bartender
Pie
Posts: 6127
74
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bagaria, welcome to CodeRanch.

You can simply use a BufferedWriter on top of a FileWriter.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic