| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Reader
java.io.BufferedReader
net.sf.hermesftp.utils.LoggingReader
public class LoggingReader
A writer that adds logging capability to a passed writer. This mechanism corresponds the decorator pattern.
| Field Summary | 
|---|
| Fields inherited from class java.io.Reader | 
|---|
lock | 
| Constructor Summary | |
|---|---|
LoggingReader(java.io.Reader in)
Constructor.  | 
|
LoggingReader(java.io.Reader in,
              int sz)
Constructor.  | 
|
| Method Summary | |
|---|---|
 java.lang.String | 
readLine()
 | 
| Methods inherited from class java.io.BufferedReader | 
|---|
close, mark, markSupported, read, 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 | 
| Constructor Detail | 
|---|
public LoggingReader(java.io.Reader in)
in - A reader.
public LoggingReader(java.io.Reader in,
                     int sz)
in - A reader.sz - Input buffer size.| Method Detail | 
|---|
public java.lang.String readLine()
                          throws java.io.IOException
readLine in class java.io.BufferedReaderjava.io.IOException
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||