public class

PrintStreamPrinter

extends Object
implements Printer
java.lang.Object
   ↳ android.util.PrintStreamPrinter

Class Overview

Implementation of a Printer that sends its output to a PrintStream.

Summary

Public Constructors
PrintStreamPrinter(PrintStream pw)
Create a new Printer that sends to a PrintWriter object.
Public Methods
void println(String x)
Write a line of text to the output.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.util.Printer

Public Constructors

public PrintStreamPrinter (PrintStream pw)

Since: API Level 3

Create a new Printer that sends to a PrintWriter object.

Parameters
pw The PrintWriter where you would like output to go.

Public Methods

public void println (String x)

Since: API Level 3

Write a line of text to the output. There is no need to terminate the given string with a newline.