org.apache.james.socket
Class SplitOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by org.apache.james.socket.SplitOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class SplitOutputStream
extends java.io.FilterOutputStream


Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
SplitOutputStream(java.io.OutputStream out, java.io.OutputStream debug)
           
 
Method Summary
 void flush()
           
protected  org.apache.commons.logging.Log getLog()
           
 void setLog(org.apache.commons.logging.Log log)
           
 void write(int b)
           
 
Methods inherited from class java.io.FilterOutputStream
close, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitOutputStream

public SplitOutputStream(java.io.OutputStream out,
                         java.io.OutputStream debug)
Method Detail

flush

public void flush()
           throws java.io.IOException
Specified by:
flush in interface java.io.Flushable
Overrides:
flush in class java.io.FilterOutputStream
Throws:
java.io.IOException

write

public void write(int b)
           throws java.io.IOException
Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException

setLog

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

getLog

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


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