bpp
Class StringBufferWriter

java.lang.Object
  extended byjava.io.Writer
      extended bybpp.StringBufferWriter

public class StringBufferWriter
extends java.io.Writer

A java.io.StringWriter with a few new features:


Field Summary
 java.lang.StringBuffer sb
           
 
Fields inherited from class java.io.Writer
lock
 
Method Summary
 void close()
           
 void flush()
           
 java.lang.String toString()
           
 java.lang.StringBuffer toStringBuffer()
           
 void write(char[] cbuf)
           
 void write(char[] cbuf, int off, int len)
           
 void write(int c)
           
 void write(java.lang.String str)
           
 void write(java.lang.String str, int off, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sb

public java.lang.StringBuffer sb
Method Detail

close

public void close()

flush

public void flush()

write

public void write(char[] cbuf)

write

public void write(char[] cbuf,
                  int off,
                  int len)

write

public void write(int c)

write

public void write(java.lang.String str)

write

public void write(java.lang.String str,
                  int off,
                  int len)

toString

public java.lang.String toString()

toStringBuffer

public java.lang.StringBuffer toStringBuffer()