org.abstracthorizon.danube.http.util
Class StringPrintWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.PrintWriter
          extended by org.abstracthorizon.danube.http.util.StringPrintWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable

public class StringPrintWriter
extends PrintWriter

String print writer implementation

Author:
Daniel Sendula

Field Summary
 
Fields inherited from class java.io.PrintWriter
out
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
StringPrintWriter()
          Constructor
 
Method Summary
 StringBuffer getStringBuffer()
          Retruns string buffer of a print writer
 void reset()
          Resets the string buffer by deleting its contents
 
Methods inherited from class java.io.PrintWriter
append, append, append, checkError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringPrintWriter

public StringPrintWriter()
Constructor

Method Detail

getStringBuffer

public StringBuffer getStringBuffer()
Retruns string buffer of a print writer

Returns:
string buffer of a print writer

reset

public void reset()
Resets the string buffer by deleting its contents



Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.