接口 ContextResource
-
- 所有超级接口:
InputStreamSource,Resource
public interface ContextResource extends Resource
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 ajavax.servlet.ServletContextbut also from plain classpath paths or relative file system paths (specified without an explicit prefix, hence applying relative to the localResourceLoader's context).- 从以下版本开始:
- 2.5
- 作者:
- Juergen Hoeller
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 java.lang.StringgetPathWithinContext()Return the path within the enclosing 'context'.-
从接口继承的方法 com.alibaba.nacos.common.packagescan.resource.InputStreamSource
getInputStream
-
从接口继承的方法 com.alibaba.nacos.common.packagescan.resource.Resource
contentLength, createRelative, exists, getDescription, getFile, getFilename, getUri, getUrl, isFile, isOpen, isReadable, lastModified, readableChannel
-
-