android.util
Class PrintWriterPrinter
java.lang.Object
android.util.PrintWriterPrinter
- All Implemented Interfaces:
- Printer
public class PrintWriterPrinter
- extends Object
- implements Printer
Implementation of a Printer that sends its output
to a PrintWriter.
|
Method Summary |
void |
println(String x)
Write a line of text to the output. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrintWriterPrinter
public PrintWriterPrinter(PrintWriter pw)
- Create a new Printer that sends to a PrintWriter object.
- Parameters:
pw - The PrintWriter where you would like output to go.
println
public void println(String x)
- Description copied from interface:
Printer
- Write a line of text to the output. There is no need to terminate
the given string with a newline.
- Specified by:
println in interface Printer
Please submit a feedback, bug or feature