Liking cljdoc? Tell your friends :D
Clojure only.

jdk.io.FileReader

Convenience class for reading character files. The constructors of this class assume that the default character encoding and the default byte-buffer size are appropriate. To specify these values yourself, construct an InputStreamReader on a FileInputStream.

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

Convenience class for reading character files.  The constructors of this
class assume that the default character encoding and the default byte-buffer
size are appropriate.  To specify these values yourself, construct an
InputStreamReader on a FileInputStream.

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

->file-readerclj

(->file-reader file-name)

Constructor.

Creates a new FileReader, given the name of the file to read from.

file-name - the name of the file to read from - java.lang.String

throws: java.io.FileNotFoundException - if the named file does not exist, is a directory rather than a regular file, or for some other reason cannot be opened for reading.

Constructor.

Creates a new FileReader, given the name of the
 file to read from.

file-name - the name of the file to read from - `java.lang.String`

throws: java.io.FileNotFoundException - if the named file does not exist, is a directory rather than a regular file, or for some other reason cannot be opened for reading.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close