posted 13 years ago
If you just intend to read text, then neither BufferedInputStream nor DataInputStream is appropriate. Use InputStreamReader and BufferedReader instead.
As an aside, I estimate that in 90% of the cases where I've seen people use DataInputStream, it is the wrong tool for the job.