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

getOutputStream

open fun getOutputStream(): OutputStream

Overrides WritableResource.getOutputStream

This implementation opens a OutputStream for the underlying file.

See Also
java.nio.file.spi.FileSystemProvider#newOutputStream(Path, OpenOption...)