org.jboss.portal.common.servlet
Class ServletOutputStreamBuffer

java.lang.Object
  extended by ServletOutputStream
      extended by org.jboss.portal.common.servlet.ServletOutputStreamBuffer

public class ServletOutputStreamBuffer
extends ServletOutputStream

Version:
$Revision: 7228 $
Author:
Julien Viet

Constructor Summary
ServletOutputStreamBuffer(int size)
           
 
Method Summary
 byte[] getBinaryContent()
           
 java.lang.String getContent(java.lang.String encoding)
           
 void reset()
           
 void write(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletOutputStreamBuffer

public ServletOutputStreamBuffer(int size)
Method Detail

write

public void write(int value)
           throws java.io.IOException
Throws:
java.io.IOException

getContent

public java.lang.String getContent(java.lang.String encoding)
                            throws java.io.IOException
Throws:
java.io.IOException

getBinaryContent

public byte[] getBinaryContent()
                        throws java.io.IOException
Throws:
java.io.IOException

reset

public void reset()