| 程序包 | 说明 |
|---|---|
| com.alibaba.nacos.common.packagescan.resource |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
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). |
interface |
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.
|
interface |
WritableResource
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Extended interface for a resource that supports writing to it.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
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. |
class |
AbstractResource
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Convenience base class for
Resource implementations,
pre-implementing typical behavior. |
class |
ByteArrayResource
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Resource implementation for a given byte array. |
class |
ClassPathResource
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
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 |
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. |
class |
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. |
class |
InputStreamResource
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Resource implementation for a given InputStream. |
class |
PathResource
|
class |
UrlResource
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
Resource implementation for java.net.URL locators. |
class |
VfsResource
Copy from https://github.com/spring-projects/spring-framework.git, with less modifications
JBoss VFS based
Resource implementation. |
Copyright © 2018–2024 Alibaba Group. All rights reserved.