org.ztemplates.web.jsp
Class ZServletOutputStreamWrapper

java.lang.Object
  extended by java.io.OutputStream
      extended by javax.servlet.ServletOutputStream
          extended by org.ztemplates.web.jsp.ZServletOutputStreamWrapper
All Implemented Interfaces:
Closeable, Flushable

public class ZServletOutputStreamWrapper
extends javax.servlet.ServletOutputStream


Constructor Summary
ZServletOutputStreamWrapper()
           
 
Method Summary
 ByteArrayOutputStream getBuffer()
           
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZServletOutputStreamWrapper

public ZServletOutputStreamWrapper()
Method Detail

write

public void write(int b)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] b)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

getBuffer

public ByteArrayOutputStream getBuffer()


Copyright © 2011. All Rights Reserved.