com.caucho.quercus.env
Class StringBuilderOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by com.caucho.quercus.env.StringBuilderOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class StringBuilderOutputStream
extends java.io.OutputStream


Constructor Summary
StringBuilderOutputStream(StringValue sb)
           
 
Method Summary
 void setStringBuilder(StringValue sb)
           
 void write(byte[] buffer, int offset, int length)
           
 void write(int ch)
           
 
Methods inherited from class java.io.OutputStream
close, flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringBuilderOutputStream

public StringBuilderOutputStream(StringValue sb)
Method Detail

write

public void write(byte[] buffer,
                  int offset,
                  int length)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(int ch)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

setStringBuilder

public void setStringBuilder(StringValue sb)