|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
velosurf.util.ServletLogWriter
public class ServletLogWriter
This class implements a writer towards the servlet log.
| Field Summary | |
|---|---|
private javax.servlet.ServletContext |
log
the ServletContext object used to log. |
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
ServletLogWriter(javax.servlet.ServletContext log)
build a new ServletLogWriter. |
|
| Method Summary | |
|---|---|
void |
close()
close the writer. |
void |
flush()
flush any pending output. |
void |
write(char[] cbuf,
int off,
int len)
write an array of chars to the servlet log. |
| 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 |
| Field Detail |
|---|
private javax.servlet.ServletContext log
| 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
write in class java.io.Writercbuf - 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
flush in interface java.io.Flushableflush in class java.io.Writerjava.io.IOException - thrown by underlying servlet logger
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.Writerjava.io.IOException - thrown by underlying servlet logger
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||