[2404] in java-interest
Re: Socket Communication
daemon@ATHENA.MIT.EDU (David Forster)
Sat Sep 30 10:05:32 1995
Date: Fri, 29 Sep 1995 13:01:51 -0500
To: Derek Hamner <dhamner@email.unc.edu>
From: mentor@io.org (David Forster)
Cc: java-interest@java.sun.com
At 14:57 9/28/95, Derek Hamner wrote:
>In you recent message on Socket Communication, you mentioned the
>
>"TextInputStream"
>
>Is this class part of the beta release???
>
>thanks,
>
>Derek Hamner
>UNC-CH
OOPS! No, it seems to have fallen off the edge of the world.
DataInputStream also provides a readLine, but it accesses the data a byte
at a time through a method invocation. Thus, if you construct the
DataInputStream with an unbuffered input stream, your readLine will
effectively be unbuffered. TextInputStream buffered things for you. Another
difference between the two would seem to be the treatment of '\r' and '\n'
- DataInputStream will not treat '\r' as a terminator.
Cheers,
David Forster <br><a href="http://www.io.org/~mentor">
Mentor Software Solutions </a><br>
+1 905 832 4837 <br>
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com