|
Wildfire 3.2.4 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.util.log.output.AbstractTarget
org.jivesoftware.util.log.output.AbstractOutputTarget
org.jivesoftware.util.log.output.io.WriterTarget
public class WriterTarget
This target outputs to a writer.
| Constructor Summary | |
|---|---|
WriterTarget(Writer writer,
Formatter formatter)
Construct target with a specific writer and formatter. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.jivesoftware.util.log.output.AbstractOutputTarget |
|---|
doProcessEvent, getFormatter, open, output, setFormatter |
| Methods inherited from class org.jivesoftware.util.log.output.AbstractTarget |
|---|
error, 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(Writer writer,
Formatter formatter)
writer - the writerformatter - the formatter| Method Detail |
|---|
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 class AbstractOutputTargetprotected void shutdownWriter()
|
Wildfire 3.2.4 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||