English | Site Directory

Android - An Open Handset Alliance Project

android.util
public class

android.util.PrintWriterPrinter

java.lang.Object
android.util.PrintWriterPrinter Printer

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.
Methods inherited from class java.lang.Object
Methods inherited from interface android.util.Printer

Details

Public Constructors

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.

Public Methods

public void println(String x)

Write a line of text to the output. There is no need to terminate the given string with a newline.
Build m5-rc15i - 10 Jun 2008 13:54