Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

BufferedWriter Vs FileWriter  RSS feed

 
kri shan
Ranch Hand
Posts: 1487
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which gives best performace(BufferedWriter.write() Vs FileWriter.write()) when writing contents into File ?
 
swaraj gupta
Ranch Hand
Posts: 182
C++ Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends on the size of contents you want to write ..........
 
Bobby Smallman
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Similar topic in the past on here, Ernest had a quick concise break-down on that thread that I bet you will find useful.

http://www.coderanch.com/t/431045/java/java/FileWriter-vs-BufferedWriter-FileWriter#1914255
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'll move this thread to our I/O forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!