org.apache.jetspeed.util.servlet
Class EcsServletOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjavax.servlet.ServletOutputStream
          extended byorg.apache.jetspeed.util.servlet.EcsServletOutputStream

public class EcsServletOutputStream
extends javax.servlet.ServletOutputStream

This class is a ServletOutputStream wrapper around an existing OutputStream so that this OutputStream may be used within a ServletResponse implementation.

Version:
$Id: EcsServletOutputStream.java,v 1.4 2005/03/21 18:21:45 sgala Exp $
Author:
RaphaŽl Luta

Constructor Summary
protected EcsServletOutputStream(java.io.OutputStream out)
          This constructor creates a new OutputStream and associates it with an existing OutputStream.
 
Method Summary
 void write(int c)
          Writes an integer to the data stream.
 
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, toString, wait, wait, wait
 

Constructor Detail

EcsServletOutputStream

protected EcsServletOutputStream(java.io.OutputStream out)
This constructor creates a new OutputStream and associates it with an existing OutputStream.

Parameters:
out - the OutputStream to use for writing data
Method Detail

write

public void write(int c)
           throws java.io.IOException
Writes an integer to the data stream. This call is delegated to the wrapped OutputStream. All the inherited methods from ServletOutputStream will use this method to output data

Parameters:
c - the integer to write to the stream
Throws:
java.io.IOException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.