Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

PrintWriterPrinter

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

Class Overview

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

Summary

Public Constructors
PrintWriterPrinter ( PrintWriter 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 PrintWriterPrinter ( PrintWriter pw)

Added in API level 1

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)

Added in API level 1

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