介绍
- java.io.FileReader
public class FileReader extends InputStreamReader
- 用于读入文件字符流
- 可以指定编码
API
构造器
FileReader(String fileName) throws FileNotFoundException
FileReader(File file) throws FileNotFoundException
FileReader(FileDescriptor fd)
FileReader(String fileName, Charset charset) throws IOException
FileReader(File file, Charset charset) throws IOException
标签:java,io,FileReader,20230823,file,throws
From: https://www.cnblogs.com/huangwenjie/p/17650677.html