Constructs this stream from the given input stream.
The stream is considered operational after expect
string is received from the stream.
If expect is null,
the stream is considered operational immediately.
Parameters: in - Input stream. Parameters: inbound - If this is inbound connection stream.
Reads the next line of text from the stream
using
DataInputStream.readLine .
Next line of text from the input stream,or null if end of file is encounteredbefore even one byte can be read. throws: IOException - If I/O error occurs.