public PrintWriter (OutputStream out)

Creates a new PrintWriter, without automatic line flushing, from an existing OutputStream. This convenience constructor creates the necessary intermediate OutputStreamWriter, which will convert characters into bytes using the default character encoding.

Parameters:
out    An output stream

See also:
java.io.OutputStreamWriter.OutputStreamWriter(java.io.OutputStream)