public class TextConsoleSerializer extends AbstractConsoleSerializer
ConsoleHelper in a plain text format,
without the text decoration.lines, writer| Constructor and Description |
|---|
TextConsoleSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNewLine()
Called when a new line is added through
ConsoleHelper.println(). |
void |
addText(EscapedText text)
Called when a text is added through
ConsoleHelper.addText(java.lang.String). |
protected void |
writeOneLine(String line)
Write one line.
|
clear, createWriter, serialize, writeFooter, writeHeaderpublic void addText(EscapedText text)
ConsoleHelper.addText(java.lang.String).text - the escaped textprotected void writeOneLine(String line) throws IOException
AbstractConsoleSerializerwriteOneLine in class AbstractConsoleSerializerline - the lineIOExceptionpublic void addNewLine()
ConsoleHelper.println().