Most visited

Recently visited

Added in API level 1

PrintWriterPrinter

public class PrintWriterPrinter
extends Object implements Printer

java.lang.Object
   ↳ android.util.PrintWriterPrinter


执行 Printer ,将其输出发送到 PrintWriter

Summary

Public constructors

PrintWriterPrinter(PrintWriter pw)

创建一个发送到PrintWriter对象的新打印机。

Public methods

void println(String x)

将一行文本写入输出。

Inherited methods

From class java.lang.Object
From interface android.util.Printer

Public constructors

PrintWriterPrinter

Added in API level 1
PrintWriterPrinter (PrintWriter pw)

创建一个发送到PrintWriter对象的新打印机。

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

Public methods

println

Added in API level 1
void println (String x)

将一行文本写入输出。 不需要用换行符终止给定的字符串。

Parameters
x String

Hooray!