org.apache.sshd.common.util
Class LoggingFilterOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by org.apache.sshd.common.util.LoggingFilterOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class LoggingFilterOutputStream
extends FilterOutputStream

TODO Add javadoc

Author:
Apache MINA SSHD Project

Field Summary
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
LoggingFilterOutputStream(OutputStream out, String msg, org.slf4j.Logger log)
           
 
Method Summary
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.FilterOutputStream
close, flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingFilterOutputStream

public LoggingFilterOutputStream(OutputStream out,
                                 String msg,
                                 org.slf4j.Logger log)
Method Detail

write

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

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
Overrides:
write in class FilterOutputStream
Throws:
IOException


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.