spring-framework / org.springframework.core.io / WritableResource / isWritable

isWritable

open fun isWritable(): Boolean

Indicate whether the contents of this resource can be written via #getOutputStream().

Will be true for typical resource descriptors; note that actual content writing may still fail when attempted. However, a value of false is a definitive indication that the resource content cannot be modified.

See Also
#getOutputStream()#isReadable()