|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComplexInputStream
Provides a set of high-level communication methods for reading.
all |
Method Summary | |
---|---|
String |
readUTF8()
Reads a single String from the stream. |
Methods inherited from interface jcontrol.io.BasicInputStream |
---|
close, read, read |
Method Detail |
---|
String readUTF8() throws IOException
String
from the stream. This is a blocking operation, if there is no data
available the current Thread
is yielded and should be woken up if data
arrives. Implementing classes may throw an IOException
if a timeout is
reached. The String is received in raw UTF8-Format with two preceiding bytes specifying the
size of the String. The String will be newly constructed
String
read
IOException
- if an error occursString
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |