de.saar.basic
Class LoggingWriter
Object
Writer
FilterWriter
LoggingWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class LoggingWriter
- extends FilterWriter
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 |
LoggingWriter
public LoggingWriter(Writer arg0,
Logger logger,
String prefix)
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()