aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "DataInputStream" Watch "DataInputStream" New topic
Author

DataInputStream

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Does DataInputStream accepts FilterInputStream as an argument?
My answer is No. Any arguments??
Doit
Ranch Hand

Joined: Aug 03, 2000
Posts: 169
I think it will accept as both of them are highlevel streams.
I do not know if i can generalize, all high level streams accepts,low level streams and high level strems as arguments.
Can anyone here list all the ways to
1. read a line of text in charactres.
2. read line of text in numbers.
I think we should use readLine() method of BufferInputStreams,
BufferedReaders. Am i correct? Are there any otherways to do that?
- Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DataInputStream
 
Similar Threads
DataInputStreams
what
regarding readLine()
sending an integer to a client machine
how to read int or any input value entered in console using DataInputStream??