Mike Matrigali wrote:

Is there any way to determine if the existing printWriter is autoflush, if so it might be worth checking before wrapping?

No. There is no api available on PrintWriter to check if the writer is in autoflush true mode.
http://java.sun.com/j2se/1.5.0/docs/api/java/io/PrintWriter.html

Thanks,
Sunitha.

Reply via email to