public class WriterTarget extends AbstractOutputTarget
| Constructor and Description |
|---|
WriterTarget(Writer writer,
Formatter formatter)
Construct target with a specific writer and formatter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Shutdown target.
|
protected void |
setWriter(Writer writer)
Set the writer.
|
protected void |
shutdownWriter()
Shutdown Writer.
|
protected void |
write(String data)
Concrete implementation of output that writes out to underlying writer.
|
doProcessEvent, getFormatter, opengetErrorHandler, isOpen, processEvent, setErrorHandlerprivate Writer m_output
protected void setWriter(Writer writer)
writer - the new writerprotected void write(String data)
write in class AbstractOutputTargetdata - the data to outputpublic void close()
close in interface Closeableclose in class AbstractOutputTargetprotected void shutdownWriter()
Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.