org.crsh.console
Class EditorWriter
java.lang.Object
org.crsh.console.EditorWriter
-
class EditorWriter
- extends Object
-
Wraps TermIO
and care about CRLF.
Method Summary |
(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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
previousCR
private boolean previousCR
-
.
io
private final ConsoleDriver io
-
.
EditorWriter
protected EditorWriter(ConsoleDriver io)
write
void write(CharSequence s)
throws IOException
-
Write a char sequence to the output.
-
- Parameters:
s
- the char sequence
- Throws:
IOException
- any io exception
write
void write(char c)
throws IOException
-
Write a single char to the output.
-
- Parameters:
c
- the char to write
- Throws:
IOException
- any io exception
writeNoFlush
private void writeNoFlush(char c)
throws IOException
-
- Throws:
IOException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.