xsul.http_common
Class NotifyCloseOutputStream
java.lang.Object
java.io.OutputStream
xsul.http_common.NotifyCloseOutputStream
- public class NotifyCloseOutputStream
- extends java.io.OutputStream
This is specialization of output stream that will notify observer when close() is called.
- Version:
- $Revision: 1.4 $
- Author:
- Aleksander Slominski
| Methods inherited from class java.io.OutputStream |
flush, write |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NotifyCloseOutputStream
public NotifyCloseOutputStream(java.io.OutputStream output,
java.util.Observer observer)
throws java.lang.IllegalArgumentException
write
public void write(int b)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
IU Extreme! Lab (http://www.extreme.indiana.edu)