public class PrintWriterPrinter extends Object implements Printer
Printer
that sends its output
to a PrintWriter
.Constructor and Description |
---|
PrintWriterPrinter(PrintWriter pw)
Create a new Printer that sends to a PrintWriter object.
|
public PrintWriterPrinter(PrintWriter pw)
pw
- The PrintWriter where you would like output to go.