spring-framework / org.springframework.core.io / PathResource / readableChannel

readableChannel

open fun readableChannel(): ReadableByteChannel

This implementation opens a Channel for the underlying file.

See Also
Files#newByteChannel(Path, OpenOption...)