hudson.plugins.jabber.im
Class LoggingFilterReader
java.lang.Object
java.io.Reader
java.io.FilterReader
hudson.plugins.jabber.im.LoggingFilterReader
- All Implemented Interfaces:
- java.io.Closeable, java.lang.Readable
public class LoggingFilterReader
- extends java.io.FilterReader
A FilterReader
which logs all received XMPP messages on the given log level.
- Author:
- kutzi
Fields inherited from class java.io.FilterReader |
in |
Fields inherited from class java.io.Reader |
lock |
Constructor Summary |
LoggingFilterReader(java.io.Reader wrapped,
java.util.logging.Logger logger,
java.util.logging.Level level)
|
Method Summary |
int |
read(char[] cbuf,
int off,
int len)
|
Methods inherited from class java.io.FilterReader |
close, mark, markSupported, read, ready, reset, skip |
Methods inherited from class java.io.Reader |
read, read |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingFilterReader
public LoggingFilterReader(java.io.Reader wrapped,
java.util.logging.Logger logger,
java.util.logging.Level level)
read
public int read(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Overrides:
read
in class java.io.FilterReader
- Throws:
java.io.IOException
Copyright © 2011. All Rights Reserved.