|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unitesk.atp.text.filters.WriterTextReceiver
public class WriterTextReceiver
Text receiver
that prints text to Writer
Constructor Summary | |
---|---|
WriterTextReceiver(Writer writer,
ExceptionHandler exceptionHandler)
Constructs text receiver with the specified Writer and ExceptionHandler . |
Method Summary | |
---|---|
void |
close()
Close underlying Writer |
void |
nl()
Passes a line separator to underlying Writer |
void |
txt(String s)
Passes the specified string to the underlying Writer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WriterTextReceiver(Writer writer, ExceptionHandler exceptionHandler)
ExceptionHandler
.
writer
- The client to write to.exceptionHandler
- The exception handler.Method Detail |
---|
public void close()
Writer
public void txt(String s)
Writer
txt
in interface TextReceiver
s
- The string to write.public void nl()
Writer
nl
in interface TextReceiver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |