Read from a classpath resource.
Read from a classpath resource. This uses fromFileObject under the hood.
a resource path
Read from a File.
Read from a File.
a File to read. The File's InputStream is automatically closed.
the result
Read from an InputStream.
Read from an InputStream.
an InputStream to read. The InputStream is automatically closed.
the result
Read from a Reader.
Read from a Reader. Whoever extends this trait is responsible for closing the Reader.
a Reader containing data to be read.
the result
Read from a resource.
Read from a resource. This uses fromFileObject under the hood.
a resource path
Read from a URL.
Read from a URL.
a URL to read. The URL's InputStream is automatically closed.
the result
Read from an Apache VFS v1 FileObject.
Read from an Apache VFS v1 FileObject.
an Apache VFS v1 FileObject to read. The FileObject's InputStream is automatically closed.
the result
Read from an Apache VFS v1 FileObject.
Read from an Apache VFS v1 FileObject.
an Apache VFS v1 FileObject to read. The FileObject's InputStream is automatically closed.
the result
The character set that is used to decode the input streams in fromInputStream in the derived classes.
The character set that is used to decode the input streams in fromInputStream in the derived classes.
Support for various ways of reading data by converting the input type to a String and calling fromString.