|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Writer java.io.PrintWriter net.sf.hermesftp.utils.LoggingWriter
public class LoggingWriter
Helper class that logs server responses.
Field Summary |
---|
Fields inherited from class java.io.PrintWriter |
---|
out |
Fields inherited from class java.io.Writer |
---|
lock |
Constructor Summary | |
---|---|
LoggingWriter(java.io.OutputStream out,
boolean flush)
Constructor. |
|
LoggingWriter(java.io.Writer out,
boolean flush)
Constructor. |
Method Summary | |
---|---|
void |
println(java.lang.String text)
|
Methods inherited from class java.io.PrintWriter |
---|
append, append, append, checkError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingWriter(java.io.OutputStream out, boolean flush)
out
- The output stream.flush
- Automatic flushpublic LoggingWriter(java.io.Writer out, boolean flush)
out
- The output writer.flush
- Automatic flushMethod Detail |
---|
public void println(java.lang.String text)
println
in class java.io.PrintWriter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |