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

writableChannel

open fun writableChannel(): WritableByteChannel

Overrides WritableResource.writableChannel

This implementation opens a Channel for the underlying file.

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