|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.term.console.TermIOWriter
class TermIOWriter
Wraps TermIO and care about CRLF.
| Field Summary | |
|---|---|
private TermIO |
io
. |
private boolean |
previousCR
. |
| Constructor Summary | |
|---|---|
protected |
TermIOWriter(TermIO io)
|
| 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 |
| Field Detail |
|---|
private boolean previousCR
private final TermIO io
| Constructor Detail |
|---|
protected TermIOWriter(TermIO io)
| Method Detail |
|---|
void write(CharSequence s)
throws IOException
s - the char sequence
IOException - any io exception
void write(char c)
throws IOException
c - the char to write
IOException - any io exception
private void writeNoFlush(char c)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||