aspose file tools*
The moose likes Beginning Java and the fly likes What does bufferedWriter.flush() and bufferedWriter.close() do? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What does bufferedWriter.flush() and bufferedWriter.close() do? " Watch "What does bufferedWriter.flush() and bufferedWriter.close() do? " New topic
Author

What does bufferedWriter.flush() and bufferedWriter.close() do?

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1050

bufferedWriter.flush();
bufferedWriter.close();

Flush as in does it fluses entire data?

http://www.lifesbizzare.blogspot.com || OCJP:81%
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

What don't you understand: java.io.BufferedWriter?


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What does bufferedWriter.flush() and bufferedWriter.close() do?
 
Similar Threads
use of bufferedwriter.newline() in server/client code
Creating file and writing errors to it, not successful
Buffered Writer automatically does flush() on a close()?
HELP!!! Output stream closing prematurely
center a string in padding using String.format