ePOST API

rice.email.proxy.util
Class SpyInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by rice.email.proxy.util.SpyInputStream
All Implemented Interfaces:
java.io.Closeable

public class SpyInputStream
extends java.io.FilterInputStream


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
SpyInputStream(java.io.InputStream in, java.io.OutputStream out)
           
 
Method Summary
 int read()
           
 int read(byte[] buf)
           
 int read(byte[] buf, int start, int len)
           
 void setDebug(boolean value)
           
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpyInputStream

public SpyInputStream(java.io.InputStream in,
                      java.io.OutputStream out)
Method Detail

setDebug

public void setDebug(boolean value)

read

public int read()
         throws java.io.IOException
Overrides:
read in class java.io.FilterInputStream
Throws:
java.io.IOException

read

public int read(byte[] buf,
                int start,
                int len)
         throws java.io.IOException
Overrides:
read in class java.io.FilterInputStream
Throws:
java.io.IOException

read

public int read(byte[] buf)
         throws java.io.IOException
Overrides:
read in class java.io.FilterInputStream
Throws:
java.io.IOException

ePOST API

Copyright © 2001-2005 - Rice Pastry.