@NonNullApi @NonNullFields

# 程序包 org.springframework.core.io

Generic abstraction for (file-based) resources, used throughout the framework.

请参阅: 说明

- 接口概要
  接口 | 说明
  --- | ---
  ContextResource | Extended interface for a resource that is loaded from an enclosing 'context', e.g. from a `ServletContext` but also from plain classpath paths or relative file system paths (specified without an explicit prefix, hence applying relative to the local `ResourceLoader`'s context).
  InputStreamSource | Simple interface for objects that are sources for an `InputStream`.
  ProtocolResolver | A resolution strategy for protocol-specific resource handles.
  Resource | Interface for a resource descriptor that abstracts from the actual type of underlying resource, such as a file or class path resource.
  ResourceLoader | Strategy interface for loading resources (e.. class path or file system resources).
  WritableResource | Extended interface for a resource that supports writing to it.

- 类概要
  类 | 说明
  --- | ---
  AbstractFileResolvingResource | Abstract base class for resources which resolve URLs into File references, such as `UrlResource` or `ClassPathResource`.
  AbstractResource | Convenience base class for `Resource` implementations, pre-implementing typical behavior.
  ByteArrayResource | `Resource` implementation for a given byte array.
  ClassPathResource | `Resource` implementation for class path resources.
  ClassRelativeResourceLoader | `ResourceLoader` implementation that interprets plain resource paths as relative to a given `java.lang.Class`.
  DefaultResourceLoader | Default implementation of the `ResourceLoader` interface.
  DefaultResourceLoader.ClassPathContextResource | ClassPathResource that explicitly expresses a context-relative path through implementing the ContextResource interface.
  DescriptiveResource | Simple `Resource` implementation that holds a resource description but does not point to an actually readable resource.
  FileSystemResource | `Resource` implementation for `java.io.File` handles.
  FileSystemResourceLoader | `ResourceLoader` implementation that resolves plain paths as file system resources rather than as class path resources (the latter is `DefaultResourceLoader`'s default strategy).
  FileUrlResource | Subclass of `UrlResource` which assumes file resolution, to the degree of implementing the `WritableResource` interface for it.
  InputStreamResource | `Resource` implementation for a given `InputStream`.
  PathResource | `Resource` implementation for `java.nio.file.Path` handles.
  ResourceEditor | `Editor` for `Resource` descriptors, to automatically convert `String` locations e.g.
  UrlResource | `Resource` implementation for `java.net.URL` locators.
  VfsResource | JBoss VFS based `Resource` implementation.
  VfsUtils | Utility for detecting and accessing JBoss VFS in the classpath.

## 程序包org.springframework.core.io的说明

Generic abstraction for (file-based) resources, used throughout the framework.