ePOST API

rice.email.proxy.util
Class SpyOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by 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)
           
 
Method Summary
 void close()
           
 void flush()
           
 void setDebug(boolean value)
           
 void write(byte[] buf)
           
 void write(byte[] buf, int start, int len)
           
 void write(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpyOutputStream

public SpyOutputStream(java.io.OutputStream a,
                       java.io.OutputStream b)
Method Detail

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

ePOST API

Copyright © 2001-2005 - Rice Pastry.