|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crsh.term.console.ConsoleWriter
public abstract class ConsoleWriter
The console writer controls the output as seen by the client of the console. It never changes the console internal state.
Constructor Summary | |
---|---|
ConsoleWriter()
|
Method Summary | |
---|---|
abstract void |
write(char c)
Write a single char to the output. |
abstract void |
write(CharSequence s)
Write a char sequence to the output. |
abstract void |
write(Style style)
Write some style to the output. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsoleWriter()
Method Detail |
---|
public abstract void write(CharSequence s) throws IOException
s
- the char sequence
IOException
- any io exceptionpublic abstract void write(char c) throws IOException
c
- the char to write
IOException
- any io exceptionpublic abstract void write(Style style) throws IOException
style
- the data to write
IOException
- any io exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |