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