sugar4j.lang
Class BuilderAdder

java.lang.Object
  extended by sugar4j.lang.BuilderAdder
All Implemented Interfaces:
Adder

public class BuilderAdder
extends Object
implements Adder

Adds to a StringBuilder instance.

Version:
$Id: BuilderAdder.java,v 1.2 2008/02/12 00:44:52 krizzdewizz Exp $
Author:
krizzdewizz

Constructor Summary
BuilderAdder()
           
 
Method Summary
 void add(String s)
          Adds the given string to this container.
 String getContent()
          Returns the content added so far.
 void setContent(String content)
          Replaces this content with the given content.
 

Constructor Detail

BuilderAdder

public BuilderAdder()
Method Detail

getContent

public String getContent()
Description copied from interface: Adder
Returns the content added so far.

Specified by:
getContent in interface Adder
Returns:
String

add

public void add(String s)
Description copied from interface: Adder
Adds the given string to this container.

Specified by:
add in interface Adder

setContent

public void setContent(String content)
Description copied from interface: Adder
Replaces this content with the given content.

Specified by:
setContent in interface Adder