Read from a classpath resource.
Read from a classpath resource. This uses fromVfs2 under the hood.
a classpath resource path.
Read from a file.
Read from a file. Logs the file.
a file to read. The file's InputStream is automatically closed.
the result
Read from a resource.
Read from a resource. This uses fromVfs2 under the hood.
a resource path.
Read from a URL.
Read from a URL. Logs the 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. Logs the file object location.
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. Logs the file object location.
an Apache VFS v1 FileObject to read. The FileObject's InputStream is automatically closed.
the result
Logs the locations of identifiable resources from which the objects are read.
type of the values returned by the reading functions.