The FileReader
is meant for reading streams of characters. For reading
streams of raw bytes, consider using a FileInputStream
.
InputStreamReader
, FileInputStream
, Charset#defaultCharset()
Access | Constructor and Description |
---|---|
public | FileReader(String
the name of the file to read fileName)Creates a new |
public | FileReader(File
the file)File to readCreates a new |
public | FileReader(FileDescriptor
the fd)FileDescriptor to readCreates a new |
public | FileReader(String
the name of the file to read fileName, Charset the charset charset)Creates a new |
public | FileReader(File
the file, Charset File to readthe charset charset)Creates a new |
FileReader | back to summary |
---|---|
public FileReader(String fileName) throws FileNotFoundException Creates a new
|
FileReader | back to summary |
---|---|
public FileReader(File file) throws FileNotFoundException Creates a new
|
FileReader | back to summary |
---|---|
public FileReader(FileDescriptor fd) Creates a new
|
FileReader | back to summary |
---|---|
public FileReader(String fileName, Charset charset) throws IOException Creates a new
|
FileReader | back to summary |
---|---|
public FileReader(File file, Charset charset) throws IOException Creates a new
|