public class TermIOWriter extends Object
TermIO and care about CRLF.| Modifier and Type | Field and Description |
|---|---|
private TermIO |
io
.
|
private boolean |
previousCR
.
|
| Constructor and Description |
|---|
TermIOWriter(TermIO io) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(char c)
Write a single char to the output.
|
void |
write(CharSequence s)
Write a char sequence to the output.
|
private void |
writeNoFlush(char c) |
private boolean previousCR
public TermIOWriter(TermIO io)
public void write(CharSequence s) throws IOException
s - the char sequenceIOException - any io exceptionpublic void 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.