my dog learned polymorphism*
The moose likes I/O and Streams and the fly likes creating text file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "creating text file" Watch "creating text file" New topic

creating text file

bagaria kushal

Joined: Mar 29, 2011
Posts: 19
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.
Stephan van Hulst

Joined: Sep 20, 2010
Posts: 3600

Hi Bagaria, welcome to CodeRanch.

You can simply use a BufferedWriter on top of a FileWriter.
I agree. Here's the link:
subject: creating text file
Similar Threads
need help
Need technical guidance to solve my issue
using XML to create wml and html
streaming to a db
Merged files? (can't think of a better name)