to top
Android APIs
Since: API Level 1
public interface

Printer

android.util.Printer
Known Indirect Subclasses

Class Overview

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

public abstract void println (String x)

Since: API Level 1

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