Constructors Summary |
---|
public FileReader(File file)Constructs a new FileReader on the given {@code file}.
super(new FileInputStream(file));
|
public FileReader(FileDescriptor fd)Construct a new FileReader on the given FileDescriptor {@code fd}. Since
a previously opened FileDescriptor is passed as an argument, no
FileNotFoundException can be thrown.
super(new FileInputStream(fd));
|
public FileReader(String filename)Construct a new FileReader on the given file named {@code filename}.
super(new FileInputStream(filename));
|