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
Printable View
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
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