class TermIOWriter extends Object
TermIO and care about CRLF.| Modifier and Type | Field and Description |
|---|---|
private TermIO |
io
.
|
private boolean |
previousCR
.
|
| Modifier | Constructor and Description |
|---|---|
protected |
TermIOWriter(TermIO 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
protected TermIOWriter(TermIO 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 © 2013 eXo Platform SAS. All Rights Reserved.