FileInputstream is a byte stream while Filereader is a Charecter
stream.
FileReader is use to read charecter files
its up to u how u want to user
You can use code
FileReader f=new FileReader("a.txt")
BufferedReader b=new BufferedReader(f,21312/*(int size of
buffer)*/);
while(condition)
{
b.readline
}

FileReader used to read the character stream in the file.i.e a file that
contains only the character means FileReader is the choice to read the file.
On the other hand if the file contains image,byte like raw data format means
FileInputStream is the choice to read the data in the file.

Readers and Writers are for character (text) I/O, while Streams are
for binary I/O. Those may at times appear to be the same thing (text
can be handled using streams, too), but every time a Reader/Writer is
used one needs to think about handling encoding/decoding issues. Using
streams one can focus on handling bytes.

Copyright 1998-2015 Ziff Davis, LLC (Toolbox.com). All rights reserved. All product names are trademarks of their respective companies. Toolbox.com is not
affiliated with or endorsed by any company listed at this site.