接口的使用
org.springframework.core.io.WritableResource
使用WritableResource的程序包 程序包 说明 org.springframework.core.io Generic abstraction for (file-based) resources, used throughout the framework.org.springframework.core.io中WritableResource的使用
实现WritableResource的org.springframework.core.io中的类 修饰符和类型 类 说明 class
FileSystemResource
class
FileUrlResource
Subclass ofUrlResource
which assumes file resolution, to the degree of implementing theWritableResource
interface for it.class
PathResource