Flush

Hi everybody.I need to make flush of a PrintWriter, but I want it when the PrintWriter is closed. Or when a number of records have been written.Many thanks in advance.Regards
[202 byte] By [javikanina] at [2007-11-27 2:27:30]
# 1
why do you want to flush once the writer is closed? it'll flush its stream before closing
georgemca at 2007-7-12 2:38:17 > top of Java-index,Java Essentials,New To Java...
# 2
The problem is that my file is 7 Mb, and java makes flush when It wants. Auto-flush is false.
javikanina at 2007-7-12 2:38:17 > top of Java-index,Java Essentials,New To Java...
# 3
you can flush it yourself too, you know
georgemca at 2007-7-12 2:38:17 > top of Java-index,Java Essentials,New To Java...
# 4
Yes, I can flush, but I don`t want java to flush. Only when I wanted
javikanina at 2007-7-12 2:38:17 > top of Java-index,Java Essentials,New To Java...