|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.io.Writer
velosurf.util.ServletLogWriter
This class implements a writer towards the servlet log
| Field Summary | |
protected javax.servlet.ServletContext |
mLog
the ServletContext object used to log |
| Fields inherited from class java.io.Writer |
lock |
| Constructor Summary | |
ServletLogWriter(javax.servlet.ServletContext log)
builds a new ServletLogWriter |
|
| Method Summary | |
void |
close()
close the writer |
void |
flush()
flush any pending output |
void |
write(char[] cbuf,
int off,
int len)
writes an array of chars to the servlet log |
| Methods inherited from class java.io.Writer |
write, write, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected javax.servlet.ServletContext mLog
| Constructor Detail |
public ServletLogWriter(javax.servlet.ServletContext log)
log - ServletContext| Method Detail |
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
cbuf - characters to writeoff - offset in the arraylen - number of characters to write
java.io.IOException - thrown by underlying servlet logger
public void flush()
throws java.io.IOException
java.io.IOException - thrown by underlying servlet logger
public void close()
throws java.io.IOException
java.io.IOException - thrown by underlying servlet logger
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||