## 类的使用
org.springframework.core.io.AbstractResource

- 使用AbstractResource的程序包
  程序包 | 说明
  --- | ---
  org.springframework.core.io | Generic abstraction for (file-based) resources, used throughout the framework.

- - ### org.springframework.core.io中AbstractResource的使用

    org.springframework.core.io中AbstractResource的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `AbstractFileResolvingResource` Abstract base class for resources which resolve URLs into File references, such as `UrlResource` or `ClassPathResource`.
    `class` | `ByteArrayResource` `Resource` implementation for a given byte array.
    `class` | `ClassPathResource` `Resource` implementation for class path resources.
    `protected static class` | `DefaultResourceLoader.ClassPathContextResource` ClassPathResource that explicitly expresses a context-relative path through implementing the ContextResource interface.
    `class` | `DescriptiveResource` Simple `Resource` implementation that holds a resource description but does not point to an actually readable resource.
    `class` | `FileSystemResource` `Resource` implementation for `java.io.File` handles.
    `class` | `FileUrlResource` Subclass of `UrlResource` which assumes file resolution, to the degree of implementing the `WritableResource` interface for it.
    `class` | `InputStreamResource` `Resource` implementation for a given `InputStream`.
    `class` | `PathResource` `Resource` implementation for `java.nio.file.Path` handles.
    `class` | `UrlResource` `Resource` implementation for `java.net.URL` locators.
    `class` | `VfsResource` JBoss VFS based `Resource` implementation.