Public class FileReader extends InputStreamReader
Constructor | Description |
---|---|
FileReader(File file) | The function of this constructor is to construct the file reader object and reads the given file. |
FileReader(FileDescriptor file) | The function of this constructor is to construct the file reader object and reads the given file descriptor. |
FileReader(String fileName) | This constructor creates a new FileReader and given the name of the file to read from.The function of this constructor is to construct the file reader object and reads the given file name. |