A PrinterWriter is an abstract base class for printing text.
More...
A PrinterWriter is an abstract base class for printing text.
- Note
- This is a helper construct to support different writers in ResultPrinter e.g. depending on the JavaScript engine.
| void PrinterWriter::PrinterWriter |
( |
| ) |
|
| void PrinterWriter::_flush |
( |
void |
| ) |
|
| void PrinterWriter::close |
( |
| ) |
|
Closes the writer.
After closing the steam no further writing is allowed. Multiple calls to close should be allowed.
| void PrinterWriter::flush |
( |
| ) |
|
Flushes the writer.
Writes any buffered data to the underlaying output stream system immediately.
- Exceptions
-
| void PrinterWriter::print |
( |
Object |
data | ) |
|
Prints into the writer.
- Parameters
-
| data | The data to print as String. |
- Exceptions
-
| void PrinterWriter::println |
( |
Object |
data | ) |
|
Prints a line into the writer.
- Parameters
-
| data | The data to print as String. |
- Exceptions
-
| int PrinterWriter::mBuffer |
| int PrinterWriter::mClosed |
The documentation for this class was generated from the following file: