|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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
- ServletContextMethod Detail |
---|
public void write(char[] cbuf, int off, int len) throws java.io.IOException
write
in class java.io.Writer
cbuf
- characters to writeoff
- offset in the arraylen
- number of characters to write
java.io.IOException
- thrown by underlying servlet loggerpublic void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.Writer
java.io.IOException
- thrown by underlying servlet loggerpublic void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.Writer
java.io.IOException
- thrown by underlying servlet logger
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |