Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*

SubjectThat worked :) Thank you! -nt- Reply to this message
Posted byLordEvilElmo
Posted on01/08/04 08:47 PM

> I haven't done any programming in 3 years but according to sun's java API spec
> (http://java.sun.com/j2se/1.4.2/docs/api/), in the DataInputStream class
> description
> (http://java.sun.com/j2se/1.4.2/docs/api/java/io/DataInputStream.html) :
> String readLine()
> Deprecated. This method does not properly convert bytes to characters.
> As of JDK 1.1, the preferred way to read lines of text is via the
> BufferedReader.readLine() method. Programs that use the DataInputStream class to
> read lines can be converted to use the BufferedReader class by replacing code of
> the form:
> DataInputStream d = new DataInputStream(in);
> with:
> BufferedReader d
> = new BufferedReader(new InputStreamReader(in));
> voilą (?)

When twilight dims the skies above
Recalling thrills of our love
There's one thing I'm certain of
I will...
to old...

Entire Thread
Subject  Posted byPosted On
*Ok, a plea for help (Java)  LordEvilElmo01/02/04 12:59 PM
.*Re: Ok, a plea for help (Java)  Mitaine01/08/04 08:07 PM
...That worked :) Thank you! -nt-  LordEvilElmo01/08/04 08:47 PM
.*Here is the data file contents  LordEvilElmo01/02/04 01:01 PM