public class BufferingStyledTextOutput extends AbstractStyledTextOutput
StyledTextOutput which buffers the content written to it, for later forwarding to another StyledTextOutput instance.StyledTextOutput.Style| Constructor and Description |
|---|
BufferingStyledTextOutput() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doAppend(String text) |
protected void |
doStyleChange(StyledTextOutput.Style style) |
boolean |
getHasContent() |
void |
writeTo(StyledTextOutput output)
Writes the buffered contents of this output to the given target, and clears the buffer.
|
public void writeTo(StyledTextOutput output)
protected void doStyleChange(StyledTextOutput.Style style)
doStyleChange in class AbstractStyledTextOutputprotected void doAppend(String text)
doAppend in class AbstractStyledTextOutputpublic boolean getHasContent()
Copyright © 2013. All rights reserved