Module java.base
Package java.io

Class FileReader

java.lang.Object
All Implemented Interfaces:
Closeable, AutoCloseable, Readable

public class FileReader extends InputStreamReader
Reads text from character files using a default buffer size. Decoding from bytes to characters uses either a specified charset or the default charset.

The FileReader is meant for reading streams of characters. For reading streams of raw bytes, consider using a FileInputStream.

Since:
1.1
See Also: