|
Openfire 3.6.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 formatterMethod Detail |
---|
protected void setWriter(Writer writer)
writer
- the new writerprotected void write(String data)
write
in class AbstractOutputTarget
data
- the data to outputpublic void close()
close
in class AbstractOutputTarget
protected void shutdownWriter()
|
Openfire 3.6.3 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |