public class HTMLConsoleSerializer extends AbstractConsoleSerializer
ConsoleHelper in a HTML format,
keeping the text decoration.lines, writer| Constructor and Description |
|---|
HTMLConsoleSerializer() |
| 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 porition of text is added through
ConsoleHelper.addText(java.lang.String). |
protected void |
writeFooter()
Write the footer.
|
protected void |
writeHeader()
Write the header.
|
protected void |
writeOneLine(String line)
Write one line.
|
clear, createWriter, serializepublic void addText(EscapedText text)
ConsoleSerializerConsoleHelper.addText(java.lang.String).text - the escaped textprotected void writeHeader()
throws IOException
AbstractConsoleSerializerwriteHeader in class AbstractConsoleSerializerIOExceptionprotected void writeFooter()
throws IOException
AbstractConsoleSerializerwriteFooter in class AbstractConsoleSerializerIOExceptionprotected void writeOneLine(String line) throws IOException
AbstractConsoleSerializerwriteOneLine in class AbstractConsoleSerializerline - the lineIOExceptionpublic void addNewLine()
ConsoleHelper.println().