org.crsh.term.console
Class TermIOWriter
java.lang.Object
org.crsh.term.console.TermIOWriter
-
class TermIOWriter
- 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 TermIO io
-
.
TermIOWriter
protected TermIOWriter(TermIO 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 © 2014 eXo Platform SAS. All Rights Reserved.