Most visited

Recently visited

Added in API level 3

PrintStreamPrinter

public class PrintStreamPrinter
extends Object implements Printer

java.lang.Object
   ↳ android.util.PrintStreamPrinter


一个实施 Printer发送其输出到 PrintStream

Summary

Public constructors

PrintStreamPrinter(PrintStream pw)

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

Public methods

void println(String x)

将一行文本写入输出。

Inherited methods

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

Public constructors

PrintStreamPrinter

Added in API level 3
PrintStreamPrinter (PrintStream pw)

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

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

Public methods

println

Added in API level 3
void println (String x)

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

Parameters
x String

Hooray!