Added in API level 1

Printer


public interface Printer

android.util.Printer
LogPrinter Implementation of a Printer that sends its output to the system log. 
PrintStreamPrinter Implementation of a Printer that sends its output to a PrintStream
PrintWriterPrinter Implementation of a Printer that sends its output to a PrintWriter
StringBuilderPrinter Implementation of a Printer that sends its output to a StringBuilder


Simple interface for printing text, allowing redirection to various targets. Standard implementations are LogPrinter, StringBuilderPrinter, and PrintWriterPrinter.

Summary

Public methods

abstract void println(String x)

Write a line of text to the output.

Public methods

println

Added in API level 1
public abstract void println (String x)

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

Parameters
x String