FileReader
class reads text files using the platform's default
character encoding and the buffer size. If you need to change these values, construct an InputStreamReader
on a FileInputStream
instead.
public FileReader(String fileName) throws FileNotFoundException
public FileReader(File file) throws FileNotFoundException
public FileReader(FileDescriptor fd)
Only the constructors are declared in this class. For example,
FileReader fr = new FileReader("36.html");