Creates a StringWriter object.
public StringWriter()
public StringWriter( StringBuffer sb )
sb
The java.lang.StringBuffer object to associate with the string writer. If no string buffer is specified, a new StringBuffer object is automatically created and associated with this string writer.