Build 1.0_r1(from source)

android.util
Class StringBuilderPrinter

java.lang.Object
  extended by android.util.StringBuilderPrinter
All Implemented Interfaces:
Printer

public class StringBuilderPrinter
extends Object
implements Printer

Implementation of a Printer that sends its output to a StringBuilder.


Constructor Summary
StringBuilderPrinter(StringBuilder builder)
          Create a new Printer that sends to a StringBuilder object.
 
Method Summary
 void println(String x)
          Write a line of text to the output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringBuilderPrinter

public StringBuilderPrinter(StringBuilder builder)
Create a new Printer that sends to a StringBuilder object.

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

println

public void println(String x)
Description copied from interface: Printer
Write a line of text to the output. There is no need to terminate the given string with a newline.

Specified by:
println in interface Printer

Build 1.0_r1(from source)

Please submit a feedback, bug or feature