org.apache.axis2.transport.mail
Class LogWriter
java.lang.Object
java.io.Writer
org.apache.axis2.transport.mail.LogWriter
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable, java.lang.Appendable
public class LogWriter
- extends java.io.Writer
Writer
implementation that redirects to a logger.
Fields inherited from class java.io.Writer |
lock |
Constructor Summary |
LogWriter(org.apache.commons.logging.Log log)
|
LogWriter(org.apache.commons.logging.Log log,
java.lang.String endOfLine)
|
Method Summary |
void |
close()
|
void |
flush()
|
void |
write(char[] cbuf,
int off,
int len)
|
Methods inherited from class java.io.Writer |
append, append, append, write, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogWriter
public LogWriter(org.apache.commons.logging.Log log,
java.lang.String endOfLine)
LogWriter
public LogWriter(org.apache.commons.logging.Log log)
write
public void write(char[] cbuf,
int off,
int len)
- Specified by:
write
in class java.io.Writer
close
public void close()
- Specified by:
close
in interface java.io.Closeable
- Specified by:
close
in class java.io.Writer
flush
public void flush()
- Specified by:
flush
in interface java.io.Flushable
- Specified by:
flush
in class java.io.Writer
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.