| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.log.output.AbstractTarget
org.apache.log.output.AbstractOutputTarget
org.apache.log.output.io.WriterTarget
This target outputs to a writer.
| Constructor Summary | |
| WriterTarget(java.io.Writer writer,
             Formatter formatter)Construct target with a specific writer and formatter. | |
| Method Summary | |
|  void | close()Shutdown target. | 
| protected  void | setWriter(java.io.Writer writer)Set the writer. | 
| protected  void | shutdownWriter()Shutdown Writer. | 
| protected  void | write(java.lang.String data)Concrete implementation of output that writes out to underlying writer. | 
| Methods inherited from class org.apache.log.output.AbstractOutputTarget | 
| doProcessEvent, getFormatter, open | 
| Methods inherited from class org.apache.log.output.AbstractTarget | 
| getErrorHandler, isOpen, processEvent, setErrorHandler | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public WriterTarget(java.io.Writer writer,
                    Formatter formatter)
writer - the writerformatter - the formatter| Method Detail | 
protected void setWriter(java.io.Writer writer)
writer - the new writerprotected void write(java.lang.String data)
write in class AbstractOutputTargetdata - the data to outputpublic void close()
close in interface Closeableclose in class AbstractOutputTargetprotected void shutdownWriter()
| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||