public class LoggingReader extends BufferedReader
BufferedReader that sends all read character to its trafficLogger.| Constructor and Description |
|---|
LoggingReader(Reader in,
IRCTrafficLogger trafficLogger) |
| Modifier and Type | Method and Description |
|---|---|
String |
readLine() |
close, lines, mark, markSupported, read, read, ready, reset, skippublic LoggingReader(Reader in, IRCTrafficLogger trafficLogger)
in - the reader to read from.trafficLogger - a logger to notify about read characterspublic String readLine() throws IOException
readLine in class BufferedReaderIOExceptionBufferedReader.readLine()Copyright © 2006–2015. All rights reserved.