de.saar.basic
Class LoggingWriter

Object
  extended by Writer
      extended by FilterWriter
          extended by LoggingWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable

public class LoggingWriter
extends FilterWriter


Constructor Summary
LoggingWriter(Writer arg0, Logger logger, String prefix)
           
 
Method Summary
 void close()
           
 void flush()
           
 void flushLog()
           
 void write(char[] arg0, int arg1, int arg2)
           
 void write(int arg0)
           
 void write(String arg0, int arg1, int arg2)
           
 
Methods inherited from class Writer
append, append, append, write, write
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingWriter

public LoggingWriter(Writer arg0,
                     Logger logger,
                     String prefix)
Method Detail

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Overrides:
close in class FilterWriter
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class FilterWriter
Throws:
IOException

write

public void write(char[] arg0,
                  int arg1,
                  int arg2)
           throws IOException
Overrides:
write in class FilterWriter
Throws:
IOException

write

public void write(int arg0)
           throws IOException
Overrides:
write in class FilterWriter
Throws:
IOException

write

public void write(String arg0,
                  int arg1,
                  int arg2)
           throws IOException
Overrides:
write in class FilterWriter
Throws:
IOException

flushLog

public void flushLog()