Reads the contents of a os.Path or os.Source as an
Array[Byte]
; you can provide an offset
/count
to read from if the source
supports seeking.
Opens a SeekableByteChannel to read from the given file.
Opens a java.io.InputStream to read from the given file
Reads the given os.Path or other os.Source as a string
and splits it into lines; defaults to reading as UTF-8, which you
can override by specifying a charSet
.
(Since version ) see corresponding Javadoc for more information.
Reads the contents of a os.Path or other os.Source as a
java.lang.String
. Defaults to reading the entire file as UTF-8, but you can also select a differentcharSet
to use, and provide anoffset
/count
to read from if the source supports seeking.