aspose file tools*
The moose likes Java in General and the fly likes DataInputStream Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "DataInputStream" Watch "DataInputStream" New topic
Author

DataInputStream

Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 169
Since the readLine() of DataInputStream is deprecated, what is my alternative to read the writeChars() of DataOutputStream? (aside from using BufferedReader)?
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
And why don't you want to use BufferedReader?


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 169
I have this part of code...

this runs with -deprecated sign...
Now it when I use BufferedReader it returns garbage chars...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DataInputStream
 
Similar Threads
DataInputStreams
sending an integer to a client machine
regarding readLine()
what
how to read int or any input value entered in console using DataInputStream??