|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConsoleOutputStream
Provides a set of high-level communication methods for console output.
Field Summary | |
---|---|
static String |
STD_LF
The standard linefeed character to print. |
Method Summary | |
---|---|
void |
print(String buffer)
Prints a single String to the stream. |
void |
println()
Prints a single linefeed to the stream. |
void |
println(String buffer)
Prints a single String followed by a linefeed to the stream. |
Methods inherited from interface jcontrol.io.BasicOutputStream |
---|
close, flush, write, write, write |
Field Detail |
---|
static final String STD_LF
Method Detail |
---|
void print(String buffer)
String
to the stream. This is a blocking operation, if the transmit device is busy
the current Thread
is yielded and should be woken up if the device becomes
ready. Implementing classes may throw an IOException
if a timeout is
reached. The String is decoded to plain ASCII characters.
buffer
- the String
to writeString
void println()
void println(String buffer)
String
followed by a linefeed to the stream.
buffer
- the String
to writeString
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |