org.sdnplatform.sync.internal.store
Class DerbySlf4jBridge.LoggingWriter

java.lang.Object
  extended by java.io.Writer
      extended by org.sdnplatform.sync.internal.store.DerbySlf4jBridge.LoggingWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable
Enclosing class:
DerbySlf4jBridge

public static final class DerbySlf4jBridge.LoggingWriter
extends java.io.Writer

A basic adapter that funnels Derby's logs through an SLF4J logger.


Field Summary
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
DerbySlf4jBridge.LoggingWriter()
           
 
Method Summary
 void close()
           
 void flush()
           
 void write(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.Writer
append, append, append, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DerbySlf4jBridge.LoggingWriter

public DerbySlf4jBridge.LoggingWriter()
Method Detail

write

public void write(char[] cbuf,
                  int off,
                  int len)
Specified by:
write in class java.io.Writer

flush

public void flush()
Specified by:
flush in interface java.io.Flushable
Specified by:
flush in class java.io.Writer

close

public void close()
Specified by:
close in interface java.io.Closeable
Specified by:
close in class java.io.Writer