Forums Register Login

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

+Pie Number of slices to send: Send
bufferedWriter.flush();
bufferedWriter.close();

Flush as in does it fluses entire data?
1
+Pie Number of slices to send: Send
What don't you understand: java.io.BufferedWriter?
Thanks tiny ad, for helping me escape the terrible comfort of this chair.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 5573 times.
Similar Threads
HELP!!! Output stream closing prematurely
Buffered Writer automatically does flush() on a close()?
use of bufferedwriter.newline() in server/client code
center a string in padding using String.format
Creating file and writing errors to it, not successful
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 20:27:21.