org.displaytag.filter
Class SimpleServletOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjavax.servlet.ServletOutputStream
          extended byorg.displaytag.filter.SimpleServletOutputStream

public class SimpleServletOutputStream
extends javax.servlet.ServletOutputStream

A simple implementation of ServletOutputStream which wraps a ByteArrayOutputStream.

Version:
$Revision: 1.2 $ ($Author: fgiust $)
Author:
Fabrizio Giustina

Constructor Summary
SimpleServletOutputStream()
           
 
Method Summary
 void reset()
          Reset the wrapped ByteArrayOutputStream.
 java.lang.String toString()
          Get the contents of the outputStream.
 void write(int b)
          
 
Methods inherited from class javax.servlet.ServletOutputStream
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleServletOutputStream

public SimpleServletOutputStream()
Method Detail

write

public void write(int b)


toString

public java.lang.String toString()
Get the contents of the outputStream.

Returns:
contents of the outputStream

reset

public void reset()
Reset the wrapped ByteArrayOutputStream.



Copyright © 2002-2005 the Displaytag team. All Rights Reserved.