org.apache.james.socket
Class CopyInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.apache.james.socket.CopyInputStream
All Implemented Interfaces:
java.io.Closeable

public class CopyInputStream
extends java.io.InputStream


Constructor Summary
CopyInputStream(java.io.InputStream is, java.io.OutputStream copy)
           
 
Method Summary
protected  org.apache.commons.logging.Log getLog()
           
 int read()
           
 void setLog(org.apache.commons.logging.Log log)
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyInputStream

public CopyInputStream(java.io.InputStream is,
                       java.io.OutputStream copy)
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

getLog

protected org.apache.commons.logging.Log getLog()

setLog

public void setLog(org.apache.commons.logging.Log log)


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.