class EditorWriter extends Object
TermIO and care about CRLF.| Modifier and Type | Field and Description |
|---|---|
private ConsoleDriver |
io
.
|
private boolean |
previousCR
.
|
| Modifier | Constructor and Description |
|---|---|
protected |
EditorWriter(ConsoleDriver io) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
write(char c)
Write a single char to the output.
|
(package private) void |
write(CharSequence s)
Write a char sequence to the output.
|
private void |
writeNoFlush(char c) |
private boolean previousCR
private final ConsoleDriver io
protected EditorWriter(ConsoleDriver io)
void write(CharSequence s) throws IOException
s - the char sequenceIOException - any io exceptionvoid write(char c) throws IOException
c - the char to writeIOException - any io exceptionprivate void writeNoFlush(char c) throws IOException
IOExceptionCopyright © 2015 eXo Platform SAS. All Rights Reserved.