rice.email.proxy.util
Class SpyOutputStream
java.lang.Object
java.io.OutputStream
rice.email.proxy.util.SpyOutputStream
-
All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
-
public class SpyOutputStream
- extends java.io.OutputStream
Constructor Summary |
SpyOutputStream(java.io.OutputStream a,
java.io.OutputStream b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpyOutputStream
public SpyOutputStream(java.io.OutputStream a,
java.io.OutputStream b)
setDebug
public void setDebug(boolean value)
-
write
public void write(int value)
throws java.io.IOException
-
- Specified by:
-
write
in class java.io.OutputStream
-
-
Throws:
java.io.IOException
write
public void write(byte[] buf,
int start,
int len)
throws java.io.IOException
-
- Overrides:
-
write
in class java.io.OutputStream
-
-
Throws:
java.io.IOException
write
public void write(byte[] buf)
throws java.io.IOException
-
- Overrides:
-
write
in class java.io.OutputStream
-
-
Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
-
- Specified by:
-
close
in interface java.io.Closeable
- Overrides:
-
close
in class java.io.OutputStream
-
-
Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
-
- Specified by:
-
flush
in interface java.io.Flushable
- Overrides:
-
flush
in class java.io.OutputStream
-
-
Throws:
java.io.IOException
Copyright © 2001-2005 - Rice Pastry.