Reading text file

reading text file got error mesage "readline in java.io.datainput stream has been deprecatedSystem.out.println(dis.readLine());what does it means?
[167 byte] By [seemapa] at [2007-11-26 12:19:16]
# 1
http://en.wikipedia.org/wiki/Deprecated
zadoka at 2007-7-7 15:07:23 > top of Java-index,Archived Forums,Socket Programming...
# 2
Check out the docs for the DataInputStream class: http://java.sun.com/j2se/1.5.0/docs/api/java/io/DataInputStream.htmlUnder readLine, it says it's deprecated because it doesn't convert bytes to characters properly. It suggests switching from DataInputStream to
hunter9000a at 2007-7-7 15:07:23 > top of Java-index,Archived Forums,Socket Programming...