public PrintStream (OutputStream out, boolean autoFlush)

Creates a new print stream.

Parameters:
out    The output stream to which values and objects will be printed
autoFlush    A boolean; if true, the output buffer will be flushed whenever a byte array is written, one of the println methods is invoked, or a newline character or byte ( '\n') is written

See also:
java.io.PrintWriter.PrintWriter(java.io.OutputStream, boolean)