类 FileSystemResource

java.lang.Object
cn.taketoday.core.io.AbstractResource
cn.taketoday.core.io.FileSystemResource
所有已实现的接口:
InputStreamSource, OutputStreamSource, Resource, WritableResource, ThrowingConsumer<OutputStream>, Consumer<OutputStream>
直接已知子类:
FileSystemResourceLoader.FileSystemContextResource

public class FileSystemResource extends AbstractResource implements WritableResource
Resource implementation for java.io.File and java.nio.file.Path handles with a file system target. Supports resolution as a File and also as a URL. Implements the extended WritableResource interface.

Note: this Resource implementation uses NIO.2 API for read/write interactions. it may be constructed with a Path handle in which case it will perform all file system interactions via NIO.2, only resorting to File on getFile().

从以下版本开始:
2.1.6
作者:
TODAY 2019-05-14 22:50
另请参阅: