|
-
Aug 30th, 2001, 11:17 PM
#1
Flush BufferedReader
Hi all,
Can anyone tell me how I can flush a BufferedReader????
I am downloading a file from a URL and I get only 8K of data from a possible 12K. I am lost.......Could anyone please advice me.....
Thanks a bunch
-
Aug 31st, 2001, 01:01 PM
#2
Dazed Member
BufferedReader applies buffering on the underlying stream.
BufferedReader also supplies an alternate readLine() method
for DataInputStream's becuase it was unable to convert bytes to characters properly.
But before i even start to show an example . I dont think you can flush a Reader. a flush method is defined in the BufferedWriter class though.
public void flush() throws IOException
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|