|
JBoss STDIO 1.0.0.CR1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.Writer
org.jboss.stdio.AbstractLoggingWriter
public abstract class AbstractLoggingWriter

Abstract base class for writers which log to a logger.
| Field Summary |
|---|
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
protected |
AbstractLoggingWriter()
Construct a new instance. |
| Method Summary | |
|---|---|
void |
close()
|
void |
flush()
|
protected abstract java.util.logging.Level |
getLevel()
Get the level at which to log. |
protected abstract java.util.logging.Logger |
getLogger()
Get the logger to use. |
void |
write(char[] cbuf,
int off,
int len)
|
void |
write(int c)
|
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractLoggingWriter()
| Method Detail |
|---|
public void write(int c)
throws java.io.IOException
write in class java.io.Writerjava.io.IOException
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
write in class java.io.Writerjava.io.IOException
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.Writerjava.io.IOExceptionprotected abstract java.util.logging.Logger getLogger()
protected abstract java.util.logging.Level getLevel()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.Writerjava.io.IOException
|
JBoss STDIO 1.0.0.CR1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||