Most visited

Recently visited

Added in API level 1

StringBuilderPrinter

public class StringBuilderPrinter
extends Object implements Printer

java.lang.Object
   ↳ android.util.StringBuilderPrinter


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

Summary

Public constructors

StringBuilderPrinter(StringBuilder builder)

创建一个发送给StringBuilder对象的新打印机。

Public methods

void println(String x)

将一行文本写入输出。

Inherited methods

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

Public constructors

StringBuilderPrinter

Added in API level 1
StringBuilderPrinter (StringBuilder builder)

创建一个发送给StringBuilder对象的新打印机。

Parameters
builder StringBuilder: The StringBuilder where you would like output to go.

Public methods

println

Added in API level 1
void println (String x)

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

Parameters
x String

Hooray!