|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unitesk.atp.text.filters.StringTextReceiver
public class StringTextReceiver
Text receiver that buffers text in internal buffer and returns it as String on demand.
Constructor Summary | |
---|---|
StringTextReceiver()
Class constructor. |
Method Summary | |
---|---|
String |
getText()
Gets the text currently buffered and clear buffer. |
void |
nl()
Appends the line separator to the internal buffer. |
void |
txt(String s)
Appends the specified string to the internal buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringTextReceiver()
Method Detail |
---|
public String getText()
public void txt(String s)
txt
in interface TextReceiver
s
- The string to write.public void nl()
nl
in interface TextReceiver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |