de.saar.basic
Class LoggingReader
Object
Reader
LoggingReader
- All Implemented Interfaces:
- Closeable, Readable
public class LoggingReader
- extends Reader
Method Summary |
void |
close()
|
void |
flushLog()
|
int |
read(char[] arg0,
int arg1,
int arg2)
|
Methods inherited from class Reader |
mark, markSupported, read, read, read, ready, reset, skip |
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingReader
public LoggingReader(Reader reader,
Logger logger,
String prefix)
read
public int read(char[] arg0,
int arg1,
int arg2)
throws IOException
- Specified by:
read
in class Reader
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Reader
- Throws:
IOException
flushLog
public void flushLog()