| 接口 | 说明 |
|---|---|
| ContextResource |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Extended interface for a resource that is loaded from an enclosing
'context', e.g. from a
javax.servlet.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 |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Simple interface for objects that are sources for an
InputStream. |
| ProtocolResolver |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
A resolution strategy for protocol-specific resource handles.
|
| Resource |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Interface for a resource descriptor that abstracts from the actual
type of underlying resource, such as a file or class path resource.
|
| ResourceLoader |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Strategy interface for loading resources (e.g., class path or file system
resources).
|
| ResourcePatternResolver |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Strategy interface for resolving a location pattern (for example,
an Ant-style path pattern) into
Resource objects. |
| WritableResource |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Extended interface for a resource that supports writing to it.
|
| 类 | 说明 |
|---|---|
| AbstractFileResolvingResource |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Abstract base class for resources which resolve URLs into File references,
such as
UrlResource or ClassPathResource. |
| AbstractResource |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Convenience base class for
Resource implementations,
pre-implementing typical behavior. |
| AntPathMatcher |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
PathMatcher implementation for Ant-style path patterns. |
| AntPathMatcher.AntPathStringMatcher |
Tests whether or not a string matches against a pattern via a
Pattern. |
| AntPathMatcher.AntPatternComparator |
The default
Comparator implementation returned by
AntPathMatcher.getPatternComparator(String). |
| ByteArrayResource |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Resource implementation for a given byte array. |
| ClassPathResource |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Resource implementation for class path resources. |
| DefaultResourceLoader |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Default implementation of the
ResourceLoader interface. |
| DefaultResourceLoader.ClassPathContextResource |
ClassPathResource that explicitly expresses a context-relative path
through implementing the ContextResource interface.
|
| FileSystemResource |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Resource implementation for java.io.File and
java.nio.file.Path handles with a file system target. |
| FileUrlResource |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Subclass of
UrlResource which assumes file resolution, to the degree
of implementing the WritableResource interface for it. |
| InputStreamResource |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Resource implementation for a given InputStream. |
| PathMatchingResourcePatternResolver |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
A
ResourcePatternResolver implementation that is able to resolve a
specified resource location path into one or more matching Resources. |
| PathResource | |
| UrlResource |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Resource implementation for java.net.URL locators. |
| VfsResource |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
JBoss VFS based
Resource implementation. |
| VfsUtils |
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Utility for detecting and accessing JBoss VFS in the classpath.
|
Copyright © 2018–2024 Alibaba Group. All rights reserved.